mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
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:
parent
6f6302e27a
commit
b2af978996
19 changed files with 154 additions and 273 deletions
41
home-manager/default.nix
Normal file
41
home-manager/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue