nix/home-manager/small.nix

36 lines
1.1 KiB
Nix
Raw Normal View History

2024-01-31 04:31:01 +01:00
{ lib, config, pkgs, inputs, hostname, system, username, desktop, theme, hmStateVersion, ... }: {
imports = [
# Common configs
./common/software/cli/bash.nix
./common/software/cli/git.nix
2024-02-15 04:07:08 +01:00
./common/software/cli/nixvim-base.nix
./common/software/cli/ssh.nix
2024-01-05 08:10:10 +01:00
./common/software/cli/btop.nix
2024-02-15 13:05:32 +01:00
./common/software/cli/starship.nix
# User configs
./users/${username}
2024-02-15 02:43:27 +01:00
2024-02-15 02:05:48 +01:00
# Theming
inputs.stylix.homeManagerModules.stylix
../stylix/${theme}
]
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop} # Machine-agnostic desktop configs
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific desktop configs
;
home = {
inherit username;
stateVersion = hmStateVersion;
homeDirectory = "/home/${username}";
sessionPath = [ "$HOME/.local/bin" ];
};
nixpkgs = {
overlays = [
# Currently in use in the Firefox config
inputs.nur.overlay
];
};
2024-02-09 13:19:35 +01:00
}