diff --git a/desktops/hyprland.nix b/desktops/hyprland.nix index 60faef4e..326ec05e 100644 --- a/desktops/hyprland.nix +++ b/desktops/hyprland.nix @@ -2,38 +2,49 @@ services.xserver.videoDrivers = ["nvidia"]; # Greeter, for when you start the computer - programs.regreet = { + # programs.regreet = { + # enable = true; + # # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml + # settings = { + # background = { + # path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg"; + # fit = "Cover"; + # }; + # GTK = { + # application_prefer_dark_theme = true; + # cursor_theme_name = "Adwaita"; + # font_name = "Cantarell 16"; + # icon_theme_name = "Papirus-Dark"; + # theme_name = "Gruvbox-Dark-BL"; + # }; + # commands = { + # reboot = [ "systemctl" "reboot" ]; + # poweroff = [ "systemctl" "poweroff" ]; + # }; + # }; + # extraCss = '' + # #background { + # filter: blur(20px); + # blur: 20px; + # } + # #user_toggle { + # visibility: none; + # } + # #sess_toggle { + # visibility: none; + # } + # ''; + # }; + + # tuigreet + services.greetd = { enable = true; - # https://github.com/rharish101/ReGreet/blob/main/regreet.sample.toml - settings = { - background = { - path = "/etc/nixos/git/desktops/wallpapers/gruvbox/wallpaper3.jpg"; - fit = "Cover"; - }; - GTK = { - application_prefer_dark_theme = true; - cursor_theme_name = "Adwaita"; - font_name = "Cantarell 16"; - icon_theme_name = "Papirus-Dark"; - theme_name = "Gruvbox-Dark-BL"; - }; - commands = { - reboot = [ "systemctl" "reboot" ]; - poweroff = [ "systemctl" "poweroff" ]; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway"; + user = "greeter"; }; }; - extraCss = '' - #background { - filter: blur(20px); - blur: 20px; - } - #user_toggle { - visibility: none; - } - #sess_toggle { - visibility: none; - } - ''; }; # Brightness and volume control