2024-03-18 03:45:39 +01:00
|
|
|
{ lib, inputs, hostname, username, desktop, hmStateVersion, ... }: {
|
2023-12-12 11:29:04 +01:00
|
|
|
imports = [
|
|
|
|
# Common configs
|
2024-04-29 13:06:50 +02:00
|
|
|
# ./common/software/cli/bash.nix
|
2024-04-29 05:18:41 +02:00
|
|
|
./common/software/cli/fish.nix
|
2023-12-12 11:29:04 +01:00
|
|
|
./common/software/cli/git.nix
|
2024-04-30 02:59:23 +02:00
|
|
|
./common/software/cli/nixvim/base.nix
|
2023-12-12 11:29:04 +01:00
|
|
|
./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
|
2024-04-30 02:59:23 +02:00
|
|
|
./common/software/cli/tmux.nix
|
2024-04-28 06:39:08 +02:00
|
|
|
./common/software/cli/atuin.nix
|
2024-05-03 14:01:06 +02:00
|
|
|
./common/software/cli/gpg.nix
|
2024-05-05 09:09:49 +02:00
|
|
|
./common/software/cli/zoxide.nix
|
2024-03-19 00:20:49 +01:00
|
|
|
|
2023-12-12 11:29:04 +01:00
|
|
|
# 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
|
2024-03-18 03:45:39 +01:00
|
|
|
../stylix
|
2024-04-28 14:48:11 +02:00
|
|
|
|
|
|
|
# Secrets
|
|
|
|
inputs.sops-nix.homeManagerModules.sops
|
2023-12-12 11:29:04 +01:00
|
|
|
]
|
|
|
|
++ 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
|
|
|
|
;
|
|
|
|
|
2024-04-25 15:05:10 +02:00
|
|
|
news.display = "silent";
|
2023-12-12 11:29:04 +01:00
|
|
|
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
|
2023-12-12 11:29:04 +01:00
|
|
|
];
|
|
|
|
};
|
2024-02-19 07:03:29 +01:00
|
|
|
}
|