summaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
authorAdrian Kummerlaender2022-07-20 15:53:37 +0200
committerAdrian Kummerlaender2022-07-20 15:53:37 +0200
commit72ea8c183644049ca4719c167681e61a89c9fba8 (patch)
treed4608449814719853b9711bd601da55f5b368a23 /host
parent479809688bde95af8c63fecd3659e4164f502818 (diff)
downloadnixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar.gz
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar.bz2
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar.lz
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar.xz
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.tar.zst
nixos_system-72ea8c183644049ca4719c167681e61a89c9fba8.zip
Enable Docker on athena
Diffstat (limited to 'host')
-rw-r--r--host/athena.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/host/athena.nix b/host/athena.nix
index 7459beb..6ce2285 100644
--- a/host/athena.nix
+++ b/host/athena.nix
@@ -93,7 +93,11 @@
exec -a "$0" "$@"
'') ];
- virtualisation.libvirtd.enable = true;
+ virtualisation.docker = {
+ enable = true;
+ enableNvidia = true;
+ };
+ users.users.common.extraGroups = [ "docker" ];
hardware.trackpoint = {
enable = true;