summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/compromyse.nix2
-rw-r--r--modules/login.nix6
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/compromyse.nix b/modules/compromyse.nix
index 89443f4..f822b46 100644
--- a/modules/compromyse.nix
+++ b/modules/compromyse.nix
@@ -5,6 +5,6 @@
initialPassword = "changeme";
isNormalUser = true;
# openssh.authorizedKeys.keys = [];
- extraGroups = [ "wheel" "video" "storage" "input" "plugdev" "tty" "libvirtd" "docker" ];
+ extraGroups = [ "wheel" "video" "storage" "input" "plugdev" "libvirtd" "docker" ];
};
}
diff --git a/modules/login.nix b/modules/login.nix
index 37e78a4..79ac35f 100644
--- a/modules/login.nix
+++ b/modules/login.nix
@@ -10,7 +10,7 @@
enable = true;
settings = {
default_session = {
- command = "tuigreet --time --remember --cmd \"dwm\"";
+ command = "tuigreet --time --remember --cmd \"dwl -s dwlb\"";
user = "greeter";
};
};
@@ -32,6 +32,10 @@
security.polkit.enable = true;
+ security.pam.services.swaylock.text = ''
+ auth include login
+ '';
+
services.xserver.libinput.enable = true;
programs.gnupg.agent = {