nix-config/modules/regreet/regreet.nix

63 lines
1.5 KiB
Nix
Raw Normal View History

2025-03-28 11:44:46 +01:00
{ pkgs, username, ... }: {
2025-04-01 13:15:41 +02:00
/*services.greetd = {
2025-04-01 01:37:47 +02:00
enable = true;
settings = {
default_session = {
user = username;
command = "$HOME/.wayland-session";
};
};
2025-04-01 13:15:41 +02:00
};*/
2025-04-01 01:37:47 +02:00
services.displayManager = {
sessionPackages = [ pkgs.hyprland ];
2025-03-28 16:47:30 +01:00
};
2025-04-01 01:37:47 +02:00
environment.etc= {
2025-04-01 02:34:17 +02:00
"greetd/background.png".source = ../../wallpapers/lucy_with_cat.png;
2025-04-01 01:37:47 +02:00
"greetd/environments".text = ''
2025-03-31 23:12:25 +02:00
hyprland
fish
'';
2025-03-28 16:39:51 +01:00
};
2025-04-01 01:37:47 +02:00
2025-04-01 13:15:41 +02:00
programs.regreet = {
2025-03-28 11:28:56 +01:00
enable = true;
2025-04-04 12:57:23 +02:00
#cageArgs = ["-s" "-m" "last" ];
#settings = ./regreet.toml;
settings = {
background = {
path = "/etc/greetd/background.png";
fit = "Fill";
};
env.SESSION_DIRS = "$HOME/.wayland-session";
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita";
font_name = "FiraCodeNerdFontPropo 12";
icon_theme_name = "materialdesignicons";
theme_name = "Adwaita";
};
commands = {
reboot = ["systemctl", "reboot"];
poweroff = ["systemctl", "poweroff"];
x11_prefix = [ "startx", "/usr/bin/env" ];
};
appearance = {
greeting_msg = "Welcome";
};
"widget.clock" = {
format = "%A %T";
resolution = "500ms";
timezone = "Europe/Berlin";
label_width = 150;
};
};
2025-04-01 13:15:41 +02:00
};
2025-03-28 11:28:56 +01:00
}