nix-config/modules/home/default.nix
2024-06-07 12:56:40 +02:00

27 lines
556 B
Nix

{ config, ... }: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.twoneis = {
imports = [
./utils
] ++ (if config.withNiri then [
./niri-setup
./themes
] else []) ++ (if config.withGnome then [
./themes
] else []) ++ (if config.full then [
./programs
] else []);
home = {
username = "twoneis";
homeDirectory = "/home/twoneis";
stateVersion = "24.11";
};
programs.home-manager.enable = true;
};
};
}