20 lines
452 B
Nix
20 lines
452 B
Nix
|
{
|
||
|
config,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (config.poz.other.system) username;
|
||
|
in {
|
||
|
# https://github.com/NixOS/nixpkgs/issues/158025
|
||
|
security.pam.services.gtklock.text = "auth include login";
|
||
|
|
||
|
users.users.${username}.packages = [ pkgs.gtklock ];
|
||
|
|
||
|
home-manager.users.${username} = {
|
||
|
xdg.configFile."gtklock/config.ini".text = ''
|
||
|
[main]
|
||
|
gtk-theme=${config.poz.themes.gtk.name}
|
||
|
'';
|
||
|
};
|
||
|
}
|