nix-config/modules/regreet/regreet.nix

61 lines
1.6 KiB
Nix
Raw Normal View History

2025-03-28 11:44:46 +01:00
{ pkgs, username, ... }: {
2025-03-28 11:28:56 +01:00
2025-03-28 16:47:30 +01:00
services.cage = {
enable = true;
user = username;
};
2025-03-28 16:35:54 +01:00
environment.etc = {
2025-03-28 17:11:36 +01:00
"background.jpg".source = ./background.jpg;
2025-03-28 16:39:51 +01:00
};
2025-03-28 17:38:17 +01:00
2025-03-28 11:52:32 +01:00
programs.regreet = {
2025-03-28 11:28:56 +01:00
enable = true;
settings = {
background = {
2025-03-28 17:11:36 +01:00
path = "/etc/background.jpg";
2025-03-28 11:28:56 +01:00
fit = "Contain";
};
2025-03-28 17:38:17 +01:00
2025-03-28 11:28:56 +01:00
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita";
font_name = "Cantarell 16";
2025-03-28 17:38:17 +01:00
icon_theme_name = pkgs.material-design-icons;
2025-03-28 11:28:56 +01:00
theme_name = "Adwaita";
};
commands = {
2025-03-28 11:44:46 +01:00
reboot = ["systemctl" "reboot"];
poweroff = ["systemctl" "poweroff"];
x11_prefix = ["startx" "/usr/bin/env"];
2025-03-28 11:28:56 +01:00
};
widget.clock = {
format = "%A %d.%m.%Y %T"; # Sunday 30.03.2025 11:25:17
resolution = "500ms";
timezone = "Europe/Berlin";
label_width = 150;
2025-03-28 11:44:46 +01:00
};
2025-03-28 17:38:17 +01:00
theme = {
package = pkgs.gnome-themes-extra;
name = "Adwaita";
};
iconTheme.package = pkgs.vimix-icon-theme;
cursorTheme = {
package = pkgs.nordzy-cursor-theme;
name = "Nordzy-cursors";
};
font = {
package = pkgs.nerd-fonts.roboto-mono;
name = "RobotoMono";
};
2025-03-28 11:28:56 +01:00
};
2025-03-28 11:44:46 +01:00
};
2025-03-28 11:28:56 +01:00
}