nixos/home-manager/home.nix
2023-01-29 01:15:28 -05:00

30 lines
516 B
Nix

{
pkgs,
settings,
lib,
...
}: {
imports = let
modules = [
"librewolf"
"theme"
"spicetify"
];
in
lib.lists.forEach modules (
m:
./. + ("/" + m + ".nix")
);
xsession.numlock.enable = true;
home = {
homeDirectory = "/home/${settings.username}";
stateVersion = settings.version;
file = {
".background-image".source = ../images/nix-stars.png;
".config" = {
source = ./config;
recursive = true;
};
};
};
}