about summary refs log tree commit diff
path: root/home/modules/i3.nix
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-07T14·53-0400
committerGriffin Smith <root@gws.fyi>2020-05-07T14·53-0400
commit1316d4fccd3e946813b824d04b7d277da6e753aa (patch)
treea929abdd34a8577e4695dfb21bc58bfb0f6eb359 /home/modules/i3.nix
parent21783174014640c9a8ed0784bdd91aac9d84aa8e (diff)
Don't hardcode wireless interface
we have an option for it!

Fixes #1 - ty @jskrzypek
Diffstat (limited to 'home/modules/i3.nix')
-rw-r--r--home/modules/i3.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/modules/i3.nix b/home/modules/i3.nix
index 2176d72811fe..8b83f880a4dc 100644
--- a/home/modules/i3.nix
+++ b/home/modules/i3.nix
@@ -183,7 +183,7 @@ in {
                   format = "%artist - %album - %title"
               }
 
-              wireless wlp3s0 {
+              wireless ${config.system.machine.wirelessInterface} {
                   format_up = "W: (%quality - %essid - %bitrate) %ip"
                   format_down = "W: -"
               }