No known key found for this signature in database
GPG Key ID: B4C3BF012D9B26BE
2 changed files with
27 additions and
0 deletions
-
client/default.nix
-
client/docker.nix
|
|
@ -19,6 +19,7 @@ in |
|
|
|
./users.nix |
|
|
|
./desktop.nix |
|
|
|
./programs.nix |
|
|
|
./docker.nix |
|
|
|
]; |
|
|
|
|
|
|
|
deployment = optionalAttrs (client != null) { |
|
|
|
|
|
@ -0,0 +1,26 @@ |
|
|
|
{ lib, ... }: |
|
|
|
|
|
|
|
with lib; |
|
|
|
|
|
|
|
{ |
|
|
|
virtualisation.docker = { |
|
|
|
enable = true; |
|
|
|
|
|
|
|
daemon.settings = { |
|
|
|
group = mkForce "users"; |
|
|
|
}; |
|
|
|
|
|
|
|
autoPrune = { |
|
|
|
enable = true; |
|
|
|
dates = "weekly"; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
hardware.nvidia-container-toolkit.enable = true; |
|
|
|
|
|
|
|
systemd.sockets."docker" = { |
|
|
|
socketConfig = { |
|
|
|
SocketGroup = mkForce "users"; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} |