diff options
Diffstat (limited to 'system')
| -rw-r--r-- | system/nix.nix | 2 | ||||
| -rw-r--r-- | system/virtualisation.nix | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/system/nix.nix b/system/nix.nix index 74dea4f..ff0512a 100644 --- a/system/nix.nix +++ b/system/nix.nix @@ -3,6 +3,8 @@ package = pkgs.lixPackageSets.stable.lix; settings = { + trusted-users = ["root" "mun"]; + substituters = [ "https://cache.lix.systems" "https://cache.nixos.org/" diff --git a/system/virtualisation.nix b/system/virtualisation.nix index 1f795ae..4737e42 100644 --- a/system/virtualisation.nix +++ b/system/virtualisation.nix @@ -1,6 +1,10 @@ {...}: { virtualisation.docker = { enable = true; + autoPrune.enable = true; + }; + virtualisation.oci-containers = { + backend = "docker"; }; users.extraGroups.docker.members = ["mun"]; |
