omniflake/home/minimal.nix
2025-03-19 16:15:29 +01:00

69 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; [
du-dust
fzf
jq
progress
silver-searcher
tldr
tmux
];
imports = [
./fish.nix
./tmux
./vifm
./nvim
];
programs.nix-index = {
enable = true;
enableFishIntegration = true;
};
programs.git = {
enable = true;
userName = "Till";
userEmail = "till@ktiu.net";
lfs = {
enable = true;
};
extraConfig = {
init = {
defaultBranch = "main";
};
};
};
programs.bottom = {
enable = true;
settings.styles.theme = "default-light";
};
}