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 (lib) getExe getExe';
inherit (inputs.hyprland.packages.${pkgs.stdenv.system}) hyprland; inherit (inputs.hyprland.packages.${pkgs.stdenv.system}) hyprland;
styleCfg = config.local.style;
hyprctl = getExe' hyprland "hyprctl"; hyprctl = getExe' hyprland "hyprctl";
Hyprland = getExe' hyprland "Hyprland"; Hyprland = getExe' hyprland "Hyprland";
@ -21,13 +19,14 @@ let
pkgs.writeText "greetd-hyprland-config" pkgs.writeText "greetd-hyprland-config"
'' ''
misc { misc {
force_default_wallpaper=0 disable_hyprland_logo=true
focus_on_activate=1 force_default_wallpaper=false
focus_on_activate=true
} }
animations { animations {
enabled=0 enabled=false
first_launch_animation=0 first_launch_animation=false
} }
workspace=1,default:true,gapsout:0,gapsin:0,border:false,decorate: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 = { security.pam.services = {
greetd.enableGnomeKeyring = true; greetd.enableGnomeKeyring = true;
login.enableGnomeKeyring = true; login.enableGnomeKeyring = true;