From b5f88f7c4d91b81e8fe163ee7eb5e67ca1beeafc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 16 Aug 2024 16:01:18 +0200 Subject: ... --- hosts/sif/default.nix | 41 +++++++---------------------------------- 1 file changed, 7 insertions(+), 34 deletions(-) (limited to 'hosts/sif/default.nix') 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 { ''; exportConfiguration = true; - - displayManager.lightdm = { - enable = false; - greeters.gtk = { - clock-format = "%H:%M %a %b %_d"; - indicators = ["~host" "~spacer" "~clock" "~session" "~power"]; - theme = { - package = pkgs.equilux-theme; - name = "Equilux-compact"; - }; - iconTheme = { - package = pkgs.paper-icon-theme; - name = "Paper-Mono-Dark"; - }; - extraConfig = '' - background = #000000 - user-background = false - active-monitor = #cursor - hide-user-image = true - - [monitor: DP-2] - laptop = true - ''; - }; - }; }; libinput.enable = true; @@ -441,16 +416,14 @@ in { }; programs.hyprland.enable = true; - systemd.tmpfiles.rules = [ - "d /var/lib/lightdm/.cache/lightdm-gtk-greeter 1770 lightdm lightdm -" - "L /var/lib/lightdm/.cache/lightdm-gtk-greeter/state - - - - ${pkgs.writeText "state" '' - [greeter] - last-user=gkleen - last-session=none+xmonad - ''}" + systemd.tmpfiles.settings = { + "10-localtime"."/etc/localtime".L.argument = "/.bcachefs/etc/localtime"; - "L /etc/localtime - - - - /.bcachefs/etc/localtime" - ]; + "10-regreet"."/var/cache/regreet/cache.toml".C.argument = toString ((pkgs.formats.toml {}).generate "cache.toml" { + last_user = "gkleen"; + user_to_last_sess.gkleen = "Hyprland"; + }); + }; users = { users.gkleen.extraGroups = [ "media" "plugdev" "input" "rtkit" ]; -- cgit v1.2.3