mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-04 19:20:58 +02:00
Refactored nix allowed users
This commit is contained in:
parent
761a68e8d9
commit
31c8529504
2 changed files with 7 additions and 7 deletions
|
@ -18,6 +18,7 @@ with lib;
|
||||||
users.users.nix-serve = {
|
users.users.nix-serve = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
|
nix.allowedUsers = [ "nix-serve" ];
|
||||||
users.users.nix-serve.group = "nix-serve";
|
users.users.nix-serve.group = "nix-serve";
|
||||||
users.groups.nix-serve = { };
|
users.groups.nix-serve = { };
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@ with lib;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix = {
|
nix = {
|
||||||
autoOptimiseStore = true;
|
autoOptimiseStore = true;
|
||||||
allowedUsers = [ "julien" "hydra" "nix-serve" ];
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "daily";
|
dates = "daily";
|
||||||
|
|
Loading…
Add table
Reference in a new issue