mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 09:51:54 -05:00
Aly Raffauf
d86e4c5be1
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / adjustor-build (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / hhd-ui-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* theme: don't set kde qt theme if kde is enabled * home: add kde option * nixos: add kde module * hyprland: set kde theme variables * desktop: set libadwaita headerbar buttons for kde * greetd: tuigreet -> regreet
39 lines
824 B
Nix
39 lines
824 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
config = lib.mkIf config.ar.desktop.greetd.enable {
|
|
security.pam.services.greetd = {
|
|
enableGnomeKeyring = true;
|
|
gnupg.enable = true;
|
|
kwallet.enable = true;
|
|
};
|
|
|
|
programs.regreet = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
background.fit =
|
|
if config.stylix.imageScalingMode == "fill"
|
|
then "Fill"
|
|
else "ScaleDown";
|
|
|
|
GTK.application_prefer_dark_theme =
|
|
if config.stylix.polarity == "dark"
|
|
then true
|
|
else false;
|
|
};
|
|
};
|
|
|
|
services.greetd = {
|
|
enable = true;
|
|
|
|
settings.initial_session = lib.mkIf (config.ar.desktop.greetd.autologin != null) {
|
|
command = config.ar.desktop.greetd.session;
|
|
user = config.ar.desktop.greetd.autologin;
|
|
};
|
|
};
|
|
};
|
|
}
|