diff --git a/configs/i3.nix b/configs/i3.nix index b4cfc90..97e4361 100644 --- a/configs/i3.nix +++ b/configs/i3.nix @@ -6,7 +6,6 @@ let move-to-new-workspace = pkgs.unstable.writers.writeDash "new-workspace" '' i3-msg move container to workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1)) ''; - wifi-interface = { scardanelli = "wlp2s0"; homeros = "wlp3s0"; wilde = "wlp3s0"; }.${config.networking.hostName}; in with config.niveum; { services.xserver = { windowManager.default = "i3"; @@ -74,13 +73,13 @@ in with config.niveum; { # order += "run_watch retiolum" order += "path_exists openvpn" - order += "wireless ${wifi-interface}" + order += "wireless ${networkInterfaces.wireless}" order += "battery all" order += "volume master" order += "load" order += "tztime local" - wireless ${wifi-interface} { + wireless ${networkInterfaces.wireless} { format_up = "%essid" format_down = "offline" } diff --git a/systems/homeros/configuration.nix b/systems/homeros/configuration.nix index 72d6625..f3f0144 100644 --- a/systems/homeros/configuration.nix +++ b/systems/homeros/configuration.nix @@ -11,6 +11,11 @@ ./hardware-configuration.nix ]; + niveum = { + networkInterfaces.wireless = "wlp3s0"; + promptColours.success = "green"; + }; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/systems/scardanelli/configuration.nix b/systems/scardanelli/configuration.nix index 60dbfd7..410da8d 100644 --- a/systems/scardanelli/configuration.nix +++ b/systems/scardanelli/configuration.nix @@ -8,6 +8,11 @@ ./hardware-configuration.nix ]; + niveum = { + networkInterfaces.wireless = "wlp2s0"; + promptColours.success = "yellow"; + }; + boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/systems/wilde/configuration.nix b/systems/wilde/configuration.nix index f19f847..3c4b80e 100644 --- a/systems/wilde/configuration.nix +++ b/systems/wilde/configuration.nix @@ -7,6 +7,11 @@ ]; + niveum = { + networkInterfaces.wireless = "wlp3s0"; + promptColours.success = "cyan"; + }; + virtualisation.docker.enable = lib.mkForce false; boot.loader.systemd-boot.enable = true;