2024-07-15 13:47:20 +02:00
|
|
|
{ lib, inputs, hostname, username, desktop, hmStateVersion, system, isimage, ... }: {
|
|
|
|
imports = [
|
|
|
|
# Common configs
|
|
|
|
./common/software/cli
|
|
|
|
|
|
|
|
# User configs
|
|
|
|
./users/${username}
|
|
|
|
|
|
|
|
# Theming
|
|
|
|
inputs.stylix.homeManagerModules.stylix
|
|
|
|
../stylix
|
|
|
|
|
|
|
|
# Secrets
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
|
|
|
]
|
|
|
|
++ 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
|
|
|
|
++ lib.optional (builtins.isString isiamge) ./common/image-specific.nix # Image specific items
|
|
|
|
;
|
|
|
|
|
|
|
|
programs.atuin.enable = mkDefault false;
|
|
|
|
|
|
|
|
news.display = "silent";
|
|
|
|
home = {
|
|
|
|
inherit username;
|
|
|
|
stateVersion = hmStateVersion;
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
sessionPath = [ "$HOME/.local/bin" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
|
|
|
# Currently in use in the Firefox config
|
2024-12-10 17:33:35 +01:00
|
|
|
inputs.nur.overlays.default
|
2024-07-15 13:47:20 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|