This commit is contained in:
iFargle 2023-08-16 08:18:08 +09:00
parent f4826914ed
commit 45cb8df448

View file

@ -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" ];
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