install comma, display wlan

This commit is contained in:
Daniel Olsen 2021-08-20 19:20:18 +02:00
parent ac709f1631
commit e906399a84
3 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,8 @@
machine = { machine = {
name = "DanixLaptop"; name = "DanixLaptop";
eth = "enp0s25"; eth = "enp0s31f6";
wlan = "wlp5s0";
}; };
profiles.base.enable = true; profiles.base.enable = true;
profiles.gui.enable = true; profiles.gui.enable = true;

View File

@ -9,6 +9,7 @@ in {
type = "str"; type = "str";
}; };
eth = lib.mkOption {}; eth = lib.mkOption {};
wlan = lib.mkOption {};
}; };
options.profiles.base = { options.profiles.base = {
@ -45,6 +46,8 @@ in {
# unstable.youtubeDL # unstable.youtubeDL
ffmpeg-full ffmpeg-full
nix-index
nur.repos.j-k.comma
] ++ lib.optionals config.profiles.gui.enable [ ] ++ lib.optionals config.profiles.gui.enable [
# virtmanager # virtmanager
# virt-viewer # virt-viewer

View File

@ -81,7 +81,7 @@ in
}; };
"module/wlan" = { "module/wlan" = {
type = "internal/network"; type = "internal/network";
interface = "wlp4s0"; interface = config.machine.wlan;
interval = "3.0"; interval = "3.0";
format-connected = "<ramp-signal> <label-connected>"; format-connected = "<ramp-signal> <label-connected>";