File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 244244 machinesDir ? null ,
245245 usersDir ? null ,
246246 } :
247+ let
248+ utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
249+ in
247250 {
248251 dirs = {
249252 lib = self + "/lib" ;
260263 usersDir
261264 ;
262265 } ;
263- utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
266+ inherit utils ;
267+ } ;
268+
269+ modules = {
270+ users = import ./modules/users.nix utils ;
264271 } ;
265272 } ;
266273 } ;
Original file line number Diff line number Diff line change 1- {
2- usersDir ,
3- rootDir ,
4- machinesDir ,
5- } :
1+ utils :
62{
73 config ,
84 lib ,
128 cfg = config . users ;
139 enabled = cfg . includedUsers != [ ] || cfg . includedGroups != [ ] ;
1410
15- utils = import ../lib { inherit usersDir rootDir machinesDir ; } ;
1611 allUsers = utils . usersInfo ;
1712 allGroups =
1813 let
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ pkgs.writeShellApplication {
8686
8787 if [ "$vm" = "true" ]; then
8888 RULES="$(nix eval --raw ".#nixosConfigurations.$machine.config.virtualisation.vmVariant.mcl.secrets.services.$service.nix-file")"
89+ secretsFolder="./modules/default-vm-config/secrets/$service"
8990 else
9091 RULES="$(nix eval --raw ".#nixosConfigurations.$machine.config.mcl.secrets.services.$service.nix-file")"
9192 fi
You can’t perform that action at this time.
0 commit comments