2024-01-31 04:31:01 +01:00
|
|
|
{ lib, config, pkgs, inputs, hostname, system, username, desktop, theme, hmStateVersion, ... }: {
|
2023-08-15 11:56:20 +02:00
|
|
|
imports = [
|
2023-09-19 04:21:34 +02:00
|
|
|
# Doom-Emacs input import
|
2024-01-29 14:43:37 +01:00
|
|
|
# inputs.doom-emacs.hmModule
|
2023-09-19 04:21:34 +02:00
|
|
|
|
2023-08-31 13:55:14 +02:00
|
|
|
# Common configs
|
|
|
|
./common/software/cli
|
2023-08-23 07:30:15 +02:00
|
|
|
|
|
|
|
# User configs
|
|
|
|
./users/${username}
|
|
|
|
]
|
2023-09-15 05:03:35 +02:00
|
|
|
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
|
2023-08-31 13:23:22 +02: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 04:26:09 +02:00
|
|
|
|
|
|
|
home = {
|
|
|
|
inherit username;
|
|
|
|
stateVersion = hmStateVersion;
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
sessionPath = [ "$HOME/.local/bin" ];
|
|
|
|
};
|
2023-08-31 13:23:22 +02:00
|
|
|
|
2023-08-23 14:44:33 +02:00
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
2023-08-31 13:22:44 +02:00
|
|
|
# Currently in use in the Firefox config
|
2023-08-23 14:44:33 +02:00
|
|
|
inputs.nur.overlay
|
|
|
|
];
|
|
|
|
};
|
2023-08-27 14:21:24 +02:00
|
|
|
}
|