2023-08-23 14:45:09 +02:00
|
|
|
{ lib, config, pkgs, inputs, hostname, username, desktop, hmStateVersion, ... }: {
|
2023-08-23 13:07:59 +02:00
|
|
|
|
2023-08-23 14:19:35 +02:00
|
|
|
home = {
|
|
|
|
inherit username;
|
2023-08-23 14:43:11 +02:00
|
|
|
stateVersion = hmStateVersion;
|
|
|
|
homeDirectory = "/home/${username}";
|
|
|
|
sessionPath = [ "$HOME/.local/bin" ];
|
2023-08-27 14:21:24 +02:00
|
|
|
pointerCursor = {
|
|
|
|
gtk.enable = true;
|
2023-08-27 14:54:05 +02:00
|
|
|
package = pkgs.catppuccin-cursors.mochaLight;
|
2023-08-27 14:56:59 +02:00
|
|
|
name = "Catppuccin-Mocha-Light-Cursors";
|
2023-08-27 14:54:05 +02:00
|
|
|
size = 22;
|
2023-08-27 14:21:24 +02:00
|
|
|
};
|
2023-08-23 14:19:35 +02:00
|
|
|
};
|
|
|
|
|
2023-08-15 11:56:20 +02:00
|
|
|
imports = [
|
2023-08-23 12:24:47 +02:00
|
|
|
# Common app configs - Will apply to all users managed by home-manager
|
2023-08-23 07:30:15 +02:00
|
|
|
./common/software/cli/bash.nix
|
|
|
|
./common/software/cli/btop.nix
|
|
|
|
./common/software/cli/git.nix
|
|
|
|
./common/software/cli/kitty.nix
|
|
|
|
./common/software/cli/neofetch.nix
|
|
|
|
./common/software/cli/neovim.nix
|
2023-08-25 12:09:27 +02:00
|
|
|
./common/software/cli/doom-emacs.nix
|
2023-08-23 07:30:15 +02:00
|
|
|
|
|
|
|
# User configs
|
|
|
|
./users/${username}
|
|
|
|
]
|
2023-08-23 12:54:47 +02:00
|
|
|
++ lib.optional (builtins.isString desktop) ./common/software/gui/firefox.nix
|
2023-08-23 14:57:46 +02:00
|
|
|
# ++ lib.optional (builtins.isString desktop) ./common/software/gui/thunderbird.nix
|
2023-08-24 12:14:42 +02:00
|
|
|
++ lib.optional (builtins.isString desktop) ./common/software/gui/vscodium.nix
|
2023-08-23 13:02:55 +02:00
|
|
|
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop}; # Machine-specific desktop configs
|
2023-08-23 14:44:33 +02:00
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
|
|
|
inputs.nur.overlay
|
|
|
|
];
|
|
|
|
};
|
2023-08-27 14:21:24 +02:00
|
|
|
}
|