feat: refactored abstractions

This commit is contained in:
Nick 2024-10-19 18:22:29 -05:00
parent f3897c1e0c
commit 2e0ba5f89e
23 changed files with 324 additions and 310 deletions

View file

@ -5,7 +5,7 @@
...
}: let
inherit (flake.config.people) user0;
inherit (flake.config.people.user.${user0}) name git;
inherit (flake.config.people.user.${user0}) name paths;
hostname = config.networking.hostName;
in {
@ -90,7 +90,7 @@ in {
];
in {
rules =
["d ${git.path0} 0755 ${user0} users -"]
["d ${paths.path0} 0755 ${user0} users -"]
++ (map (path: "d /home/${user0}/${path} 0755 ${user0} users -") directoriesAddedToHome)
++ (map (path: "R /home/${user0}/${path} 0755 ${user0} users - -") directoriesRemovedFromHome);
};