fix(sway): add possibility to not install swaylock package
Useful when using home-manager on third-party distribution. Swaylock from nixpkgs become unable to unlock session because PAM incompatibilities.
This commit is contained in:
parent
a359d8c06e
commit
c1ee8f9d50
4 changed files with 18 additions and 7 deletions
|
@ -13,6 +13,16 @@ in
|
|||
description = "configure laptop mode";
|
||||
};
|
||||
|
||||
swaylock.useNullPackage = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Use null package to not install swaylock with Nix
|
||||
Useful when using Home-Manager on third-party distribution to avoid
|
||||
problem with PAM
|
||||
'';
|
||||
};
|
||||
|
||||
wallpapers = {
|
||||
lockscreen = mkOption {
|
||||
type = types.str;
|
||||
|
@ -114,7 +124,7 @@ in
|
|||
};
|
||||
iconTheme = {
|
||||
name = "Papirus Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = "Deja Vu Sans";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue