feat: added user2 and refactored to accommodate

This commit is contained in:
Nick 2025-01-28 20:45:11 -06:00
parent c169f84dcc
commit 9cdcf4fec4
97 changed files with 1473 additions and 1052 deletions

View file

@ -1,13 +0,0 @@
{ flake, ... }:
let
inherit (flake)
self
;
moduleImports = map (module: self.homeModules.${module}) [
"desktop"
];
in
{
imports = moduleImports;
}

View file

@ -1,13 +0,0 @@
{ flake, ... }:
let
inherit (flake)
self
;
moduleImports = map (module: self.homeModules.${module}) [
"desktop"
];
in
{
imports = moduleImports;
}

View file

@ -1,13 +0,0 @@
{ flake, ... }:
let
inherit (flake)
self
;
moduleImports = map (module: self.homeModules.${module}) [
"server"
];
in
{
imports = moduleImports;
}

View file

@ -6,14 +6,10 @@
...
}:
let
inherit (flake.config.people)
user0
;
inherit (flake.config.people.users.${user0})
name
paths
;
inherit (flake) self;
inherit (flake.config.people) user0;
inherit (flake.config.machines) devices;
inherit (flake.config.people.users.${user0}) name paths;
hostname = config.networking.hostName;
in
{
@ -74,7 +70,11 @@ in
{
home.stateVersion = config.system.stateVersion;
}
(import ./configs/${hostname}.nix { flake = flake; })
{
imports = [
self.homeModules."${devices.${hostname}.name}-${user0}"
];
}
];
};
};
@ -107,14 +107,4 @@ in
"Videos"
]);
};
# system.activationScripts.zoxide = ''
# z /home/nick/Files/Projects/dotfiles
# z /home/nick/Files/Projects/website
# z /home/nick/Files/Projects/website/frontend
# z /home/nick/Downloads
# z /mnt/media/server/jellyfin/media
# z /mnt/media/storage
# z /mnt/media/synology/nick/Multimedia/Images/Assorted/Stuff
# z /mnt/media/synology/nick/Syncthing/Pixel
# '';
}