forked from extern/nix-config
swaylock: Move to ./home
This commit is contained in:
parent
c0966633d8
commit
ef109a9472
17
home/swaylock.nix
Normal file
17
home/swaylock.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user