This commit is contained in:
Daniel Olsen 2022-04-03 17:28:22 +02:00
parent b432a2cbc1
commit fe2d2913bf
3 changed files with 9 additions and 3 deletions

View File

@ -5,6 +5,7 @@
machine = { machine = {
name = "DanixDesktop"; name = "DanixDesktop";
eth = "eno1"; eth = "eno1";
wlan = null;
}; };
profiles.base.enable = true; profiles.base.enable = true;
profiles.xsession.enable = true; profiles.xsession.enable = true;
@ -14,6 +15,6 @@
programs.home-manager = { programs.home-manager = {
enable = true; enable = true;
path = "https://github.com/rycee/home-manager/archive/release-21.05.tar.gz"; path = "https://github.com/rycee/home-manager/archive/release-21.11.tar.gz";
}; };
} }

View File

@ -164,6 +164,11 @@ in {
"gitlab.stud.idi.ntnu.no" = { "gitlab.stud.idi.ntnu.no" = {
proxyJump = "login.pvv.ntnu.no"; proxyJump = "login.pvv.ntnu.no";
}; };
"workshop" = {
user = "student";
hostname = "129.241.99.15";
proxyJump = "hildring.pvv.ntnu.no";
};
}; };
}; };

View File

@ -79,7 +79,7 @@ in
"module/title" = { "module/title" = {
type = "internal/xwindow"; type = "internal/xwindow";
}; };
"module/wlan" = { "module/wlan" = lib.mkIf (config.machine.wlan != null) {
type = "internal/network"; type = "internal/network";
interface = config.machine.wlan; interface = config.machine.wlan;
interval = "3.0"; interval = "3.0";
@ -97,7 +97,7 @@ in
ramp-signal-4 = ""; ramp-signal-4 = "";
ramp-signal-foreground = "\${colors.foreground-alt}"; ramp-signal-foreground = "\${colors.foreground-alt}";
}; };
"module/eth" = if config.machine.eth != null "module/eth" = if (config.machine.eth != null)
then then
{ {
type = "internal/network"; type = "internal/network";