Commit 8c42ef23b48a

Vincent Demeester <vincent@sbr.pm>
2019-03-08 17:15:23
hokkaido: add virtualization, remove docker and ssh
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent bc613cc
Changed files (1)
machine/hokkaido.nix
@@ -12,13 +12,12 @@ with import ../assets/machines.nix; {
   hardware.u2f.enable = true;
   profiles = {
     dev.enable = true;
-    docker.enable = true;
     laptop.enable = true;
     desktop.autoLogin = true;
-    ssh.enable = true;
     syncthing.enable = true;
     nix-config.buildCores = 2;
     yubikey.enable = true;
+    virtualization.enable = true;
   };
   programs = {
     podman.enable = true;
@@ -26,7 +25,7 @@ with import ../assets/machines.nix; {
   services = {
     logind.extraConfig = ''
       HandleLidSwitch=suspend
-      HandleLidSwitchExternalPower=ignore
+      HandleLidSwitchExternalPower=suspend
       HandleLidSwitchDocked=ignore
     '';
     syncthing-edge.guiAddress = "${wireguard.ips.hokkaido}:8384";