switch to global theming configuration

This commit is contained in:
ISnortPennies 2023-02-04 16:40:24 -05:00
parent b3cb8940d4
commit 3bb6302f03
6 changed files with 56 additions and 53 deletions

View file

@ -3,9 +3,7 @@
lib,
inputs,
...
}: let
helperfunc = args: (lib.lists.forEach args (m: ./. + ("/" + m + ".nix")));
in {
}: {
home-manager = {
useGlobalPkgs = true;
useUserPackages = false;
@ -13,10 +11,8 @@ in {
users = {
${settings.username} = {
imports =
helperfunc
[
"theme"
"spicetify"
./spicetify.nix
];
xsession.numlock.enable = true;
home = {
@ -24,18 +20,6 @@ in {
stateVersion = settings.version;
};
};
root = {
imports =
helperfunc
[
"theme"
];
home = {
username = "root";
homeDirectory = "/root";
stateVersion = settings.version;
};
};
};
};
}