install comma, display wlan
This commit is contained in:
parent
ac709f1631
commit
e906399a84
|
@ -4,7 +4,8 @@
|
|||
|
||||
machine = {
|
||||
name = "DanixLaptop";
|
||||
eth = "enp0s25";
|
||||
eth = "enp0s31f6";
|
||||
wlan = "wlp5s0";
|
||||
};
|
||||
profiles.base.enable = true;
|
||||
profiles.gui.enable = true;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>";
|
||||
|
|
Loading…
Reference in New Issue