Enable using i3lock-fancy for xfce lock screen

This commit is contained in:
Evie Litherland-Smith 2023-04-05 17:20:17 +01:00
parent 4c06dc6b45
commit 48d5d6c5de
6 changed files with 15 additions and 13 deletions

View file

@ -3,12 +3,12 @@
imports = [
./common.nix
./xserver.nix
./sddm.nix
];
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the KDE Plasma Desktop Environment.
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
programs.kdeconnect.enable = true;

6
nixos/desktop/sddm.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }:
{
services.xserver.displayManager.sddm = {
enable = true;
};
}

View file

@ -1,9 +1,9 @@
{ ... }:
{ pkgs, ... }:
{
imports = [
./common.nix
./xserver.nix
./sddm.nix
];
services.xserver = {
enable = true;
@ -13,7 +13,10 @@
enableXfwm = false;
};
windowManager.bspwm.enable = true;
displayManager.sddm.enable = true;
displayManager.defaultSession = "xfce+bspwm";
};
programs.i3lock = {
enable = true;
package = pkgs.i3lock-fancy;
};
}

View file

@ -13,9 +13,6 @@
pointer_action2 = "resize_side";
pointer_action3 = "resize_corner";
};
startupPrograms = [
"kitty -e \"nvim\""
];
monitors = {
"primary" = ["I" "II" "III" "IV" "V"];
};

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
programs.rofi = {
enable = true;
@ -6,8 +6,4 @@
pass.enable = true;
terminal = "kitty";
};
home.packages = with pkgs; [
i3lock
scrot
];
}

View file

@ -117,7 +117,7 @@ menu=(
[ Reboot]="systemctl reboot"
[ Suspend]="systemctl suspend"
[ Hibernate]="systemctl hibernate"
[ Lock]="xflock"
[ Lock]="i3lock-fancy"
[ Logout]="xfce4-session-logout"
[ Cancel]=""
)