summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2022-04-21 13:07:14 +0200
committerAdrian Kummerlaender2022-04-21 13:07:14 +0200
commitba2ee80d07b427665b1df9ced08d1e703335fc6a (patch)
tree76c8b332892a36be6ebcf887946908562ae13135
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
-rw-r--r--host/hephaestus.nix7
-rw-r--r--user/common.nix1
2 files changed, 6 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 = {
diff --git a/user/common.nix b/user/common.nix
index 2688e5d..3b3ef17 100644
--- a/user/common.nix
+++ b/user/common.nix
@@ -5,6 +5,7 @@
isNormalUser = true;
uid = 1000;
extraGroups = [ "wheel" ];
+
shell = pkgs.fish;
openssh.authorizedKeys.keys = [