1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-14 04:51:08 +01:00

Revert "sway: validate configuration at build time"

This reverts commit 99b75f99df. See

  https://github.com/nix-community/home-manager/issues/1613 and
  https://github.com/nix-community/home-manager/pull/1614

for associated discussions.
This commit is contained in:
Robert Helgesson 2020-11-17 18:43:20 +01:00
parent 6dc68b1d16
commit 7b6ebf2785
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
6 changed files with 11 additions and 23 deletions

View file

@ -92,7 +92,7 @@ bar {
hidden_state hide
position bottom
status_command @i3status@/bin/i3status
swaybar_command @sway@/bin/swaybar
swaybar_command @sway/bin/swaybar
workspace_buttons yes
strip_workspace_numbers no
tray_output primary

View file

@ -10,8 +10,7 @@ in {
config = {
wayland.windowManager.sway = {
enable = true;
package = pkgs.writeScriptBin "sway" "" // { outPath = "@sway@"; };
package = dummy-package // { outPath = "@sway"; };
# overriding findutils causes issues
config.menu = "${pkgs.dmenu}/bin/dmenu_run";
};

View file

@ -10,7 +10,7 @@ in {
config = {
wayland.windowManager.sway = {
enable = true;
package = pkgs.writeScriptBin "sway" "";
package = dummy-package // { outPath = "@sway"; };
config = {
focus.followMouse = false;
@ -26,6 +26,10 @@ in {
outPath = "@rxvt-unicode-unwrapped@";
};
sway = dummy-package // { outPath = "@sway@"; };
sway-unwrapped = dummy-package // {
outPath = "@sway-unwrapped@";
version = "1";
};
swaybg = dummy-package // { outPath = "@swaybg@"; };
xwayland = dummy-package // { outPath = "@xwayland@"; };
})

View file

@ -10,7 +10,7 @@ in {
config = {
wayland.windowManager.sway = {
enable = true;
package = pkgs.writeScriptBin "sway" "" // { outPath = "@sway@"; };
package = dummy-package // { outPath = "@sway"; };
config = {
focus.followMouse = "always";
@ -26,6 +26,7 @@ in {
outPath = "@rxvt-unicode-unwrapped@";
};
sway = dummy-package // { outPath = "@sway@"; };
sway-unwrapped = dummy-package // { version = "1"; };
swaybg = dummy-package // { outPath = "@swaybg@"; };
xwayland = dummy-package // { outPath = "@xwayland@"; };
})

View file

@ -12,8 +12,7 @@ in {
wayland.windowManager.sway = {
enable = true;
package = pkgs.writeScriptBin "sway" "" // { outPath = "@sway@"; };
package = dummy-package // { outPath = "@sway"; };
# overriding findutils causes issues
config.menu = "${pkgs.dmenu}/bin/dmenu_run";
};