Enable using i3lock-fancy for xfce lock screen
This commit is contained in:
parent
4c06dc6b45
commit
48d5d6c5de
|
@ -3,12 +3,12 @@
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
|
./sddm.nix
|
||||||
];
|
];
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
|
||||||
# Enable the KDE Plasma Desktop Environment.
|
# Enable the KDE Plasma Desktop Environment.
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
services.xserver.desktopManager.plasma5.enable = true;
|
||||||
|
|
||||||
programs.kdeconnect.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 = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
./xserver.nix
|
./xserver.nix
|
||||||
|
./sddm.nix
|
||||||
];
|
];
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -13,7 +13,10 @@
|
||||||
enableXfwm = false;
|
enableXfwm = false;
|
||||||
};
|
};
|
||||||
windowManager.bspwm.enable = true;
|
windowManager.bspwm.enable = true;
|
||||||
displayManager.sddm.enable = true;
|
|
||||||
displayManager.defaultSession = "xfce+bspwm";
|
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_action2 = "resize_side";
|
||||||
pointer_action3 = "resize_corner";
|
pointer_action3 = "resize_corner";
|
||||||
};
|
};
|
||||||
startupPrograms = [
|
|
||||||
"kitty -e \"nvim\""
|
|
||||||
];
|
|
||||||
monitors = {
|
monitors = {
|
||||||
"primary" = ["I" "II" "III" "IV" "V"];
|
"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 = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -6,8 +6,4 @@
|
||||||
pass.enable = true;
|
pass.enable = true;
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
|
||||||
i3lock
|
|
||||||
scrot
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -117,7 +117,7 @@ menu=(
|
||||||
[ Reboot]="systemctl reboot"
|
[ Reboot]="systemctl reboot"
|
||||||
[ Suspend]="systemctl suspend"
|
[ Suspend]="systemctl suspend"
|
||||||
[ Hibernate]="systemctl hibernate"
|
[ Hibernate]="systemctl hibernate"
|
||||||
[ Lock]="xflock"
|
[ Lock]="i3lock-fancy"
|
||||||
[ Logout]="xfce4-session-logout"
|
[ Logout]="xfce4-session-logout"
|
||||||
[ Cancel]=""
|
[ Cancel]=""
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue