mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added user2 and refactored to accommodate
This commit is contained in:
parent
c169f84dcc
commit
9cdcf4fec4
97 changed files with 1473 additions and 1052 deletions
|
@ -1,13 +0,0 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake)
|
||||
self
|
||||
;
|
||||
|
||||
moduleImports = map (module: self.homeModules.${module}) [
|
||||
"desktop"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = moduleImports;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake)
|
||||
self
|
||||
;
|
||||
|
||||
moduleImports = map (module: self.homeModules.${module}) [
|
||||
"desktop"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = moduleImports;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
{ flake, ... }:
|
||||
let
|
||||
inherit (flake)
|
||||
self
|
||||
;
|
||||
|
||||
moduleImports = map (module: self.homeModules.${module}) [
|
||||
"server"
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = moduleImports;
|
||||
}
|
|
@ -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
|
||||
# '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue