1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

wilde, homeros, scardanelli: use different MOTDs and prompts

This commit is contained in:
Kierán Meinhardt
2019-06-17 19:11:31 +02:00
parent da297039cd
commit e508cab29b
4 changed files with 17 additions and 3 deletions

View File

@@ -6,7 +6,6 @@ let
move-to-new-workspace = pkgs.unstable.writers.writeDash "new-workspace" '' 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)) 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; { in with config.niveum; {
services.xserver = { services.xserver = {
windowManager.default = "i3"; windowManager.default = "i3";
@@ -74,13 +73,13 @@ in with config.niveum; {
# order += "run_watch retiolum" # order += "run_watch retiolum"
order += "path_exists openvpn" order += "path_exists openvpn"
order += "wireless ${wifi-interface}" order += "wireless ${networkInterfaces.wireless}"
order += "battery all" order += "battery all"
order += "volume master" order += "volume master"
order += "load" order += "load"
order += "tztime local" order += "tztime local"
wireless ${wifi-interface} { wireless ${networkInterfaces.wireless} {
format_up = "%essid" format_up = "%essid"
format_down = "offline" format_down = "offline"
} }

View File

@@ -11,6 +11,11 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
niveum = {
networkInterfaces.wireless = "wlp3s0";
promptColours.success = "green";
};
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;

View File

@@ -8,6 +8,11 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
niveum = {
networkInterfaces.wireless = "wlp2s0";
promptColours.success = "yellow";
};
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;

View File

@@ -7,6 +7,11 @@
<stockholm/krebs/2configs/hw/x220.nix> <stockholm/krebs/2configs/hw/x220.nix>
]; ];
niveum = {
networkInterfaces.wireless = "wlp3s0";
promptColours.success = "cyan";
};
virtualisation.docker.enable = lib.mkForce false; virtualisation.docker.enable = lib.mkForce false;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;