chore(module): remove installPackage parameter
This commit is contained in:
parent
e2e5c9c75e
commit
691e01e22c
7 changed files with 30 additions and 60 deletions
|
@ -7,14 +7,6 @@ in
|
|||
config = mkIf config.modules.desktop.sway.enable {
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
|
||||
# Do not install sway package on other system that NixOS
|
||||
# because performance issue
|
||||
package =
|
||||
if cfg.installPackage
|
||||
then pkgs.sway
|
||||
else null;
|
||||
|
||||
wrapperFeatures.gtk = true;
|
||||
systemd.enable = true;
|
||||
config = {
|
||||
|
@ -69,10 +61,7 @@ in
|
|||
"${mod}+Shift+q" = "kill";
|
||||
"${mod}+d" = "exec ${pkgs.fuzzel}/bin/fuzzel";
|
||||
"${mod}+Shift+c" = "reload";
|
||||
"${mod}+Alt+l" =
|
||||
if cfg.installPackage
|
||||
then "exec ${pkgs.swaylock}/bin/swaylock"
|
||||
else "exec swaylock";
|
||||
"${mod}+Alt+l" = "exec ${pkgs.swaylock}/bin/swaylock";
|
||||
"${mod}+${left} focus" = "left";
|
||||
"${mod}+${down} focus" = "down";
|
||||
"${mod}+${up} focus" = "up";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue