Added: ReGreet

This commit is contained in:
2025-03-28 11:52:32 +01:00
parent 9b8fc2e643
commit 38f6040a1e
4 changed files with 10 additions and 9 deletions

44
modules/regreet.nix Normal file
View File

@@ -0,0 +1,44 @@
{ pkgs, username, ... }: {
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.greetd}/bin/regreet"
};
};
};
programs.regreet = {
enable = true;
settings = {
background = {
path = "Pictures/Wallpapers/lucy.jpg";
fit = "Contain";
};
env = {};
GTK = {
application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita";
font_name = "Cantarell 16";
icon_theme_name = "Adwaita";
theme_name = "Adwaita";
};
commands = {
reboot = ["systemctl" "reboot"];
poweroff = ["systemctl" "poweroff"];
x11_prefix = ["startx" "/usr/bin/env"];
};
widget.clock = {
format = "%A %d.%m.%Y %T"; # Sunday 30.03.2025 11:25:17
resolution = "500ms";
timezone = "Europe/Berlin";
label_width = 150;
};
};
};
}

View File

@@ -229,11 +229,6 @@
#media-session.enable = true;
};
displayManager.autoLogin = {
enable = true;
user = "phil";
};
tailscale.enable = true;
udev.packages = with pkgs; [gnome.gnome-settings-daemon];