Added settings for ly

This commit is contained in:
2025-12-13 13:17:00 +02:00
parent c71a7217c6
commit b926b6dfe2
2 changed files with 45 additions and 4 deletions

6
flake.lock generated
View File

@@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1765186076,
"narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
"lastModified": 1765472234,
"narHash": "sha256-9VvC20PJPsleGMewwcWYKGzDIyjckEz8uWmT0vCDYK0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
"rev": "2fbfb1d73d239d2402a8fe03963e37aab15abe8b",
"type": "github"
},
"original": {

View File

@@ -9,6 +9,47 @@
xkb.variant = "intl";
};
services.displayManager.ly.enable = true;
services.displayManager.ly = {
enable = true;
settings = {
path = /run/current-system/sw/bin;
restart_cmd = /run/current-system/systemd/bin/systemctl reboot;
service_name = ly;
setup_cmd = /nix/store/vksm36a608j7szhxn0bcnv5rna9xhxk5-xsession-wrapper;
shutdown_cmd = /run/current-system/systemd/bin/systemctl poweroff;
term_reset_cmd = /nix/store/yijhn548p2589pkybgvbhll09bqsxy0q-ncurses-6.5/bin/tput reset;
term_restore_cursor_cmd = /nix/store/yijhn548p2589pkybgvbhll09bqsxy0q-ncurses-6.5/bin/tput cnorm;
tty = 1;
waylandsessions = /nix/store/1dp80bvcnaq30mh6728lc34xhbjp15zx-desktops/share/wayland-sessions;
x_cmd = /nix/store/a1v7dyv80s5xd19in89h9i3wnll02ns5-xserver-wrapper;
xauth_cmd = /nix/store/s7c6j1cp1xmx8l4ggwx90f51zn9ih0wz-xauth-1.1.4/bin/xauth;
xsessions = /nix/store/1dp80bvcnaq30mh6728lc34xhbjp15zx-desktops/share/xsessions;
bigclock = en;
bigclock_seconds = true;
box_title = "Puter";
brightness_down_cmd = bindsym XF86MonBrightnessDown exec light - U 5;
brightness_up_cmd = bindsym XF86MonBrightnessUp exec light - A 5;
animation = colormix;
battery_id = BAT0;
bg = 0 x00000000;
# Error background color id
error_bg = 0 x00000000;
# Default is red and bold
error_fg = 0 x01FF0000;
# Color mixing animation first color id
colormix_col1 = 0 x66537B;
# Color mixing animation second color id
colormix_col2 = 0 x292134;
# Color mixing animation third color id
colormix_col3 = 0 x110D13;
# Error background color id
error_bg = 0 x00000000;
# Error foreground color id
# Default is red and bold
error_fg = 0 x753256;
# Foreground color id
fg = 0 xB4BEFE;
};
};
# services.displayManager.gdm.enable = true;
}