1
0
forked from extern/nix-config

swaylock: Move to ./home

This commit is contained in:
Donovan Glover 2023-06-16 20:16:19 -04:00
parent c0966633d8
commit ef109a9472
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 17 additions and 23 deletions

17
home/swaylock.nix Normal file
View File

@ -0,0 +1,17 @@
{
programs.swaylock = {
package = pkgs."swaylock-effects";
settings = {
show-keyboard-layout = true;
daemonize = true;
effect-blur = "20x2";
clock = true;
indicator = true;
font-size = 25;
indicator-radius = 85;
indicator-thickness = 16;
screenshots = true;
fade-in = 1;
};
};
}

View File

@ -1,23 +0,0 @@
{ pkgs, ... }: {
security.pam.services.swaylock = { };
home-manager.sharedModules = [
{
programs.swaylock = {
package = pkgs."swaylock-effects";
settings = {
show-keyboard-layout = true;
daemonize = true;
effect-blur = "20x2";
clock = true;
indicator = true;
font-size = 25;
indicator-radius = 85;
indicator-thickness = 16;
screenshots = true;
fade-in = 1;
};
};
}
];
}