This commit is contained in:
Daniel Lovbrotte 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 = {
name = "DanixDesktop";
eth = "eno1";
wlan = null;
};
profiles.base.enable = true;
profiles.xsession.enable = true;
@ -14,6 +15,6 @@
programs.home-manager = {
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" = {
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" = {
type = "internal/xwindow";
};
"module/wlan" = {
"module/wlan" = lib.mkIf (config.machine.wlan != null) {
type = "internal/network";
interface = config.machine.wlan;
interval = "3.0";
@ -97,7 +97,7 @@ in
ramp-signal-4 = "";
ramp-signal-foreground = "\${colors.foreground-alt}";
};
"module/eth" = if config.machine.eth != null
"module/eth" = if (config.machine.eth != null)
then
{
type = "internal/network";