services/greetd: remove regreet (unused), hide default hyprland stuff

This commit is contained in:
Anthony Rodriguez 2025-01-30 17:34:05 +01:00
parent 38c387aade
commit b2f958e681
Signed by: nezia
SSH key fingerprint: SHA256:Ihfpl0rUpqDevYqnzSR34OYfVLbDNkBiUjs3CpX4ykA

View file

@ -10,8 +10,6 @@ let
inherit (lib) getExe getExe';
inherit (inputs.hyprland.packages.${pkgs.stdenv.system}) hyprland;
styleCfg = config.local.style;
hyprctl = getExe' hyprland "hyprctl";
Hyprland = getExe' hyprland "Hyprland";
@ -21,13 +19,14 @@ let
pkgs.writeText "greetd-hyprland-config"
''
misc {
force_default_wallpaper=0
focus_on_activate=1
disable_hyprland_logo=true
force_default_wallpaper=false
focus_on_activate=true
}
animations {
enabled=0
first_launch_animation=0
enabled=false
first_launch_animation=false
}
workspace=1,default:true,gapsout:0,gapsin:0,border:false,decorate:false
@ -48,26 +47,6 @@ in {
};
};
programs.regreet = lib.mkMerge [
{
enable = true;
}
(lib.mkIf styleCfg.enable {
theme = {
inherit (styleCfg.gtk.theme) name package;
};
cursorTheme = {
inherit (styleCfg.cursorTheme) name package;
};
iconTheme = {
inherit (styleCfg.gtk.iconTheme) name package;
};
})
];
security.pam.services = {
greetd.enableGnomeKeyring = true;
login.enableGnomeKeyring = true;