From 20353dde3f1ed71c175461fdda8e301e3619ce3a Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Tue, 15 Oct 2019 13:56:13 +0200 Subject: [PATCH] New decoysnail. --- decoysnail.nix | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/decoysnail.nix b/decoysnail.nix index 4f2cc21..3a956e3 100644 --- a/decoysnail.nix +++ b/decoysnail.nix @@ -17,13 +17,8 @@ ''; boot.initrd.luks.devices = [ { - name = "sda2_crypt"; - device = "/dev/disk/by-uuid/6c687d35-1b43-4799-b71c-a5b5c21b3e2a"; - preLVM = true; - } - { - name = "sdb2_crypt"; - device = "/dev/disk/by-uuid/d3485d00-8399-40cc-8bce-80b9bd24e63a"; + name = "sda_crypt"; + device = "/dev/disk/by-partuuid/00292928-0088-4887-9e5d-2f2eccb4816f"; preLVM = true; allowDiscards = true; } @@ -40,23 +35,23 @@ services.thermald.enable = true; - virtualisation.docker = { - enable = true; - storageDriver = "overlay2"; - }; - users.extraUsers.gebner.extraGroups = [ "docker" ]; + #virtualisation.docker = { + # enable = true; + # storageDriver = "overlay2"; + #}; + #users.extraUsers.gebner.extraGroups = [ "docker" ]; hardware.opengl = { extraPackages = with pkgs; [ beignet ]; driSupport32Bit = true; }; - services.avahi.nssmdns = true; - services.nscd.enable = pkgs.lib.mkOverride 10 true; + #services.avahi.nssmdns = true; + #services.nscd.enable = pkgs.lib.mkOverride 10 true; services.openssh.forwardX11 = true; - system.stateVersion = "18.03"; + system.stateVersion = "19.09"; networking.wireguard.interfaces.wg0 = { ips = ["10.59.0.4/16"];