summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2022-04-21 13:07:14 +0200
committerAdrian Kummerlaender2022-04-21 13:07:14 +0200
commitba2ee80d07b427665b1df9ced08d1e703335fc6a (patch)
tree76c8b332892a36be6ebcf887946908562ae13135 /host
parent0c9f6d2ab080f331eb0b9cf3ae0d74cd69be7d6d (diff)
downloadnixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar.gz
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar.bz2
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar.lz
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar.xz
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.tar.zst
nixos_system-ba2ee80d07b427665b1df9ced08d1e703335fc6a.zip
Enable docker on hephaestus
Diffstat (limited to 'host')
-rw-r--r--host/hephaestus.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/host/hephaestus.nix b/host/hephaestus.nix
index 1557d61..ac18902 100644
--- a/host/hephaestus.nix
+++ b/host/hephaestus.nix
@@ -45,8 +45,11 @@
mediaDirs = ["V,/mnt/share/"];
};
- virtualisation.lxd.enable = true;
- users.users.common.extraGroups = [ "lxd" ];
+ virtualisation.docker = {
+ enable = true;
+ enableNvidia = true;
+ };
+ users.users.common.extraGroups = [ "docker" ];
networking.wireguard.interfaces = {
wg0 = {