add swaylock
This commit is contained in:
parent
e2b8dd3192
commit
c3c2c1ad6d
|
@ -28,6 +28,7 @@
|
|||
./gnome.nix
|
||||
./niri.nix
|
||||
./ssh.nix
|
||||
./swaylock.nix
|
||||
./vscode.nix
|
||||
./waybar.nix
|
||||
./zsh.nix
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
xwayland-satellite
|
||||
alacritty
|
||||
fuzzel
|
||||
swaylock
|
||||
];
|
||||
|
||||
qt.style = {
|
||||
|
|
21
home/vinzenz/swaylock.nix
Normal file
21
home/vinzenz/swaylock.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
# based on https://codeberg.org/kiara/cfg/src/commit/b9c472acd78c9c08dfe8b6a643c5c82cc5828433/home-manager/kiara/swaylock.nix#
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
# https://github.com/jirutka/swaylock-effects/blob/master/swaylock.1.scd
|
||||
settings = {
|
||||
screenshot = true;
|
||||
effect-blur = "9x9";
|
||||
effect-vignette = "0.5:0.5";
|
||||
fade-in = 0.5;
|
||||
font-size = 75;
|
||||
indicator-caps-lock = true;
|
||||
clock = true;
|
||||
indicator-radius = 400;
|
||||
show-failed-attempts = true;
|
||||
ignore-empty-password = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -3,10 +3,9 @@
|
|||
home.packages = with pkgs; [
|
||||
waybar
|
||||
playerctl
|
||||
cava
|
||||
];
|
||||
|
||||
programs.cava.enable = true;
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
tldr
|
||||
neofetch
|
||||
|
||||
nix-output-monitor
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue