mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
switch to global theming configuration
This commit is contained in:
parent
b3cb8940d4
commit
3bb6302f03
6 changed files with 56 additions and 53 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue