nixos/home-manager/home.nix

32 lines
544 B
Nix

{
pkgs,
settings,
lib,
...
}: {
imports = let
modules = [
"librewolf"
"sxhkd"
"theme"
"picom"
"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;
};
};
};
}