From 8f973cc3a28a145bcd68d6e4849321b9a70c15de Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Sun, 11 May 2025 00:32:25 +0200 Subject: [PATCH] Sway is now configured specifically for x86 and aarch64 --- nix/system/linux.nix | 4 ---- nix/system/linux_aarch.nix | 7 +++++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/nix/system/linux.nix b/nix/system/linux.nix index 6601eeb..d905ff6 100644 --- a/nix/system/linux.nix +++ b/nix/system/linux.nix @@ -2,10 +2,6 @@ { programs = { zsh.enable = true; - sway = { - enable = true; - package = pkgs.swayfx; - }; }; networking = { diff --git a/nix/system/linux_aarch.nix b/nix/system/linux_aarch.nix index 49c0ed9..6565667 100644 --- a/nix/system/linux_aarch.nix +++ b/nix/system/linux_aarch.nix @@ -5,6 +5,13 @@ apple-silicon-support.nixosModules.apple-silicon-support ]; + programs = { + sway = { + enable = true; + package = pkgs.swayfx; + }; + }; + boot = { consoleLogLevel = 0; kernelParams = [ "apple_dcp.show_notch=1" ];