summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-11 11:13:27 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-11 11:13:27 +0200
commit5786716a383254c256f109d38fda1c898456fb60 (patch)
tree43b4b5918eb58fd6ffc728fe0d4f21dc3431981d /hosts/sif/default.nix
parent148e387fe152242f472322218f1e0bd35afe67e8 (diff)
downloadnixos-5786716a383254c256f109d38fda1c898456fb60.tar
nixos-5786716a383254c256f109d38fda1c898456fb60.tar.gz
nixos-5786716a383254c256f109d38fda1c898456fb60.tar.bz2
nixos-5786716a383254c256f109d38fda1c898456fb60.tar.xz
nixos-5786716a383254c256f109d38fda1c898456fb60.zip
sif: hyprland
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix29
1 files changed, 28 insertions, 1 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index f505874b..809e2ace 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -388,7 +388,7 @@ in {
388 exportConfiguration = true; 388 exportConfiguration = true;
389 389
390 displayManager.lightdm = { 390 displayManager.lightdm = {
391 enable = true; 391 enable = false;
392 greeters.gtk = { 392 greeters.gtk = {
393 clock-format = "%H:%M %a %b %_d"; 393 clock-format = "%H:%M %a %b %_d";
394 indicators = ["~host" "~spacer" "~clock" "~session" "~power"]; 394 indicators = ["~host" "~spacer" "~clock" "~session" "~power"];
@@ -413,7 +413,32 @@ in {
413 }; 413 };
414 }; 414 };
415 libinput.enable = true; 415 libinput.enable = true;
416
417 greetd = {
418 enable = true;
419 };
420 };
421
422 programs.regreet = {
423 enable = true;
424 theme = {
425 package = pkgs.equilux-theme;
426 name = "Equilux-compact";
427 };
428 iconTheme = {
429 package = pkgs.paper-icon-theme;
430 name = "Paper";
431 };
432 font = {
433 package = pkgs.fira;
434 name = "Fira Sans";
435 # size = 6;
436 };
437 settings = {
438 GTK.application_prefer_dark_theme = true;
439 };
416 }; 440 };
441 programs.hyprland.enable = true;
417 442
418 systemd.tmpfiles.rules = [ 443 systemd.tmpfiles.rules = [
419 "d /var/lib/lightdm/.cache/lightdm-gtk-greeter 1770 lightdm lightdm -" 444 "d /var/lib/lightdm/.cache/lightdm-gtk-greeter 1770 lightdm lightdm -"
@@ -692,6 +717,8 @@ in {
692 ]; 717 ];
693 }; 718 };
694 719
720 security.pam.services.gtklock = {};
721
695 system.stateVersion = "24.11"; 722 system.stateVersion = "24.11";
696 }; 723 };
697} 724}