summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-16 16:01:18 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-16 16:01:18 +0200
commitb5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc (patch)
tree19a93f61566d45318fae27ac3ccc48cce0deeb13 /hosts
parent82438392e9e3ebdeae7ed0ff7691bcdc00e13539 (diff)
downloadnixos-b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc.tar
nixos-b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc.tar.gz
nixos-b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc.tar.bz2
nixos-b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc.tar.xz
nixos-b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc.zip
...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix41
1 files changed, 7 insertions, 34 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 805ddfe5..e3becb4b 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -386,31 +386,6 @@ in {
386 ''; 386 '';
387 387
388 exportConfiguration = true; 388 exportConfiguration = true;
389
390 displayManager.lightdm = {
391 enable = false;
392 greeters.gtk = {
393 clock-format = "%H:%M %a %b %_d";
394 indicators = ["~host" "~spacer" "~clock" "~session" "~power"];
395 theme = {
396 package = pkgs.equilux-theme;
397 name = "Equilux-compact";
398 };
399 iconTheme = {
400 package = pkgs.paper-icon-theme;
401 name = "Paper-Mono-Dark";
402 };
403 extraConfig = ''
404 background = #000000
405 user-background = false
406 active-monitor = #cursor
407 hide-user-image = true
408
409 [monitor: DP-2]
410 laptop = true
411 '';
412 };
413 };
414 }; 389 };
415 libinput.enable = true; 390 libinput.enable = true;
416 391
@@ -441,16 +416,14 @@ in {
441 }; 416 };
442 programs.hyprland.enable = true; 417 programs.hyprland.enable = true;
443 418
444 systemd.tmpfiles.rules = [ 419 systemd.tmpfiles.settings = {
445 "d /var/lib/lightdm/.cache/lightdm-gtk-greeter 1770 lightdm lightdm -" 420 "10-localtime"."/etc/localtime".L.argument = "/.bcachefs/etc/localtime";
446 "L /var/lib/lightdm/.cache/lightdm-gtk-greeter/state - - - - ${pkgs.writeText "state" ''
447 [greeter]
448 last-user=gkleen
449 last-session=none+xmonad
450 ''}"
451 421
452 "L /etc/localtime - - - - /.bcachefs/etc/localtime" 422 "10-regreet"."/var/cache/regreet/cache.toml".C.argument = toString ((pkgs.formats.toml {}).generate "cache.toml" {
453 ]; 423 last_user = "gkleen";
424 user_to_last_sess.gkleen = "Hyprland";
425 });
426 };
454 427
455 users = { 428 users = {
456 users.gkleen.extraGroups = [ "media" "plugdev" "input" "rtkit" ]; 429 users.gkleen.extraGroups = [ "media" "plugdev" "input" "rtkit" ];