nix/home-manager/default.nix

40 lines
1.2 KiB
Nix
Raw Normal View History

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