omniflake/home/minimal.nix
2025-12-13 01:44:01 +01:00

72 lines
1.3 KiB
Nix

{ config, pkgs, inputs, lib, ... }:
{
home.username = "till";
home.homeDirectory = "/home/till";
home.stateVersion = "22.11";
nixpkgs = {
config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
};
};
programs.home-manager.enable = true;
xdg.userDirs = {
enable = true;
download = "${config.home.homeDirectory}/tmp";
music = "${config.home.homeDirectory}/media/music";
pictures = "${config.home.homeDirectory}/media/img";
videos = "${config.home.homeDirectory}/media/vid";
documents = "${config.home.homeDirectory}/misc";
templates = "${config.xdg.dataHome}/templates";
publicShare = "${config.home.homeDirectory}/box";
desktop = null;
};
home.packages = with pkgs; [
dust
fzf
jq
progress
rename
silver-searcher
tldr
tmux
];
imports = [
./fish.nix
./tmux
./vifm
./nvim
];
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
programs.git = {
enable = true;
settings = {
user.name = "Till";
user.email = "till@ktiu.net";
extraConfig = {
init = {
defaultBranch = "main";
};
};
};
lfs = {
enable = true;
};
};
programs.bottom = {
enable = true;
settings.styles.theme = "default-light";
};
}