Add user for singularity

This commit is contained in:
Invariantspace 2023-11-09 20:24:14 -08:00
parent a1f2621867
commit eb465a05f2
7 changed files with 13 additions and 42 deletions

View file

@ -24,6 +24,7 @@
(archPath + "/${instance}")
# Setup Nix
({ pkgs, ... }: {
networking.hostName = instance;
nix = {
gc = {
automatic = true;
@ -40,7 +41,7 @@
};
})
];
specialArgs = { inherit inputs; };
specialArgs = { inherit inputs; inherit instance; };
};
in
{