From ba2ee80d07b427665b1df9ced08d1e703335fc6a Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 21 Apr 2022 13:07:14 +0200 Subject: Enable docker on hephaestus --- host/hephaestus.nix | 7 +++++-- user/common.nix | 1 + 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 = [ -- cgit v1.2.3