mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
condensed and cleaned up home-manager configuration moved nix settings to nix.nix (nice name i know) moved all shell configuration to shell.nix moved default package exclusion to packages.nix switched to nitch from neofetch moved font from overlay removed almost pointless librewolf home-manager configuration changed wallpaper
41 lines
837 B
Nix
41 lines
837 B
Nix
{
|
|
settings,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}: let
|
|
helperfunc = args: (lib.lists.forEach args (m: ./. + ("/" + m + ".nix")));
|
|
in {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = false;
|
|
extraSpecialArgs = {inherit inputs settings;};
|
|
users = {
|
|
${settings.username} = {
|
|
imports =
|
|
helperfunc
|
|
[
|
|
"theme"
|
|
"spicetify"
|
|
];
|
|
xsession.numlock.enable = true;
|
|
home = {
|
|
homeDirectory = "/home/${settings.username}";
|
|
stateVersion = settings.version;
|
|
};
|
|
};
|
|
root = {
|
|
imports =
|
|
helperfunc
|
|
[
|
|
"theme"
|
|
];
|
|
home = {
|
|
username = "root";
|
|
homeDirectory = "/root";
|
|
stateVersion = settings.version;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|