services/greetd: remove regreet (unused), hide default hyprland stuff
This commit is contained in:
parent
38c387aade
commit
b2f958e681
1 changed files with 5 additions and 26 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue