install comma, display wlan

This commit is contained in:
Daniel Lovbrotte 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 = {
name = "DanixLaptop";
eth = "enp0s25";
eth = "enp0s31f6";
wlan = "wlp5s0";
};
profiles.base.enable = true;
profiles.gui.enable = true;

View File

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

View File

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