From 6066b1bbe2c1cdaa8b0085a92071c11d64e9abbf Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 14 Jun 2022 22:07:53 +0530 Subject: stuff for colemak --- hosts/olive/configuration.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'hosts/olive/configuration.nix') diff --git a/hosts/olive/configuration.nix b/hosts/olive/configuration.nix index 66b5bdc..5ecce25 100644 --- a/hosts/olive/configuration.nix +++ b/hosts/olive/configuration.nix @@ -18,12 +18,12 @@ interfaces = [ "wlp2s0" ]; - environmentFile = "/run/secrets/wireless.env"; + environmentFile = "/home/np/.wireless.env"; networks = { - Sanic.pskRaw = "@PSK_SANI@"; - Gopalan.pskRaw = "@PSK_GOPA@"; - Srividhya.pskRaw = "@PSK_SRIV@"; - sage.pskRaw = "@PSK_SAGE@"; + Sanic.psk = "@PSK_SANI@"; + Gopalan.psk = "@PSK_GOPA@"; + Srividhya.psk = "@PSK_SRIV@"; + sage.psk = "@PSK_SAGE@"; }; extraConfig = '' ctrl_interface=/run/wpa_supplicant @@ -103,7 +103,6 @@ services.xserver = { enable = true; layout = "us"; - xkbOptions = "caps:swapescape"; displayManager.startx.enable = true; libinput.enable = true; }; @@ -114,6 +113,8 @@ suspendCapacity = 10; }; + services.udev.extraRules = builtins.readFile ./qmk.rules; + users.users.np = { isNormalUser = true; home = "/home/np"; -- cgit v1.2.3