cleaned up flake

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
This commit is contained in:
ISnortPennies 2023-01-30 01:16:14 -05:00
parent 6f6302e27a
commit b2af978996
19 changed files with 154 additions and 273 deletions

41
home-manager/default.nix Normal file
View file

@ -0,0 +1,41 @@
{
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;
};
};
};
};
}