2024-03-18 11:45:39 +09:00
|
|
|
{ lib, inputs, hostname, username, desktop, hmStateVersion, ... }: {
|
2023-08-15 18:56:20 +09:00
|
|
|
imports = [
|
2023-08-31 20:55:14 +09:00
|
|
|
# Common configs
|
|
|
|
./common/software/cli
|
2023-08-23 14:30:15 +09:00
|
|
|
|
|
|
|
# User configs
|
|
|
|
./users/${username}
|
2024-02-14 13:36:45 +09:00
|
|
|
|
|
|
|
# Theming
|
|
|
|
inputs.stylix.homeManagerModules.stylix
|
2024-03-18 11:45:39 +09:00
|
|
|
../stylix
|
2023-08-23 14:30:15 +09:00
|
|
|
]
|
2023-09-15 12:03:35 +09:00
|
|
|
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
|
2023-08-31 20:23:22 +09:00
|
|
|
++ 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
|
|
|
|
;
|
2023-09-19 11:26:09 +09:00
|
|
|
|
2024-04-25 22:05:10 +09:00
|
|
|
news.display = "silent";
|
2024-04-25 22:11:15 +09:00
|
|
|
|
2023-09-19 11:26:09 +09:00
|
|
|
home = {
|
|
|
|
inherit username;
|
|
|
|
stateVersion = hmStateVersion;
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
sessionPath = [ "$HOME/.local/bin" ];
|
|
|
|
};
|
2023-08-31 20:23:22 +09:00
|
|
|
|
2023-08-23 21:44:33 +09:00
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
2023-08-31 20:22:44 +09:00
|
|
|
# Currently in use in the Firefox config
|
2023-08-23 21:44:33 +09:00
|
|
|
inputs.nur.overlay
|
|
|
|
];
|
|
|
|
};
|
2023-08-27 21:21:24 +09:00
|
|
|
}
|