diff options
Diffstat (limited to 'users/seth/programs/default.nix')
| -rw-r--r-- | users/seth/programs/default.nix | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/users/seth/programs/default.nix b/users/seth/programs/default.nix new file mode 100644 index 0000000..bc18b6e --- /dev/null +++ b/users/seth/programs/default.nix @@ -0,0 +1,66 @@ +{ + config, + lib, + pkgs, + inputs, + ... +}: let + cfg = config.seth.programs; +in { + options.seth.programs = { + basePrograms.enable = + lib.mkEnableOption "base programs and configurations" + // { + default = config.seth.enable; + }; + }; + + imports = with inputs; [ + catppuccin.homeManagerModules.catppuccin + nix-index-database.hmModules.nix-index + ./bat.nix + ./chromium.nix + ./eza.nix + ./firefox + ./git.nix + ./gpg.nix + ./mangohud.nix + ./neovim.nix + ./ssh.nix + ./starship + ./vim.nix + ./vscode.nix + ]; + + config = lib.mkIf cfg.basePrograms.enable { + home.packages = with pkgs; [ + fd + nix-output-monitor + nurl + rclone + restic + ]; + + catppuccin.flavour = "mocha"; + + programs = { + btop = { + enable = true; + catppuccin.enable = true; + }; + + direnv = { + enable = true; + nix-direnv.enable = true; + }; + + glamour.catppuccin.enable = true; + + ripgrep.enable = true; + + nix-index-database.comma.enable = true; + }; + + xdg.enable = true; + }; +} |
