Enable using i3lock-fancy for xfce lock screen
This commit is contained in:
parent
4c06dc6b45
commit
48d5d6c5de
|
@ -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
6
nixos/desktop/sddm.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
3
nixos/home-manager/env/bspwm.nix
vendored
3
nixos/home-manager/env/bspwm.nix
vendored
|
@ -13,9 +13,6 @@
|
|||
pointer_action2 = "resize_side";
|
||||
pointer_action3 = "resize_corner";
|
||||
};
|
||||
startupPrograms = [
|
||||
"kitty -e \"nvim\""
|
||||
];
|
||||
monitors = {
|
||||
"primary" = ["I" "II" "III" "IV" "V"];
|
||||
};
|
||||
|
|
6
nixos/home-manager/env/rofi.nix
vendored
6
nixos/home-manager/env/rofi.nix
vendored
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
|
@ -6,8 +6,4 @@
|
|||
pass.enable = true;
|
||||
terminal = "kitty";
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
i3lock
|
||||
scrot
|
||||
];
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ menu=(
|
|||
[ Reboot]="systemctl reboot"
|
||||
[ Suspend]="systemctl suspend"
|
||||
[ Hibernate]="systemctl hibernate"
|
||||
[ Lock]="xflock"
|
||||
[ Lock]="i3lock-fancy"
|
||||
[ Logout]="xfce4-session-logout"
|
||||
[ Cancel]=""
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue