From 562701109f263b71971cd9190604f9c519578742 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Tue, 18 Jan 2022 12:01:50 +0100 Subject: [PATCH] home: i3bar: remove bluetooth mouse item --- home/default.nix | 1 - .../bluetooth-mouse-mac-address.secret | Bin 40 -> 0 bytes home/secrets/default.nix | 19 ------------------ home/x/i3bar.nix | 6 ------ 4 files changed, 26 deletions(-) delete mode 100644 home/secrets/bluetooth-mouse-mac-address.secret delete mode 100644 home/secrets/default.nix diff --git a/home/default.nix b/home/default.nix index 44341dd..7368d96 100644 --- a/home/default.nix +++ b/home/default.nix @@ -12,7 +12,6 @@ ./laptop.nix ./lorri.nix ./rofi.nix - ./secrets ./ssh.nix ./themes ./tmux.nix diff --git a/home/secrets/bluetooth-mouse-mac-address.secret b/home/secrets/bluetooth-mouse-mac-address.secret deleted file mode 100644 index cc6ff3c3207037ddb8d04186e57041211f35b93c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40 ycmV+@0N4KjM@dveQdv+`0PJ~IZsglyd+66Vk)}Ho3lQhVTH$J^xX+x6eFFJesuJ@6 diff --git a/home/secrets/default.nix b/home/secrets/default.nix deleted file mode 100644 index b149dde..0000000 --- a/home/secrets/default.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib, ... }: -let - inherit (lib) - fileContents - mkOption - types - ; -in -{ - options.my.secrets = mkOption { - type = types.attrs; - }; - - config.my.secrets = { - # I'm not sure hiding this is very important, but it *seems* like a bad idea - # to expose this - bluetooth-mouse-mac-address = fileContents ./bluetooth-mouse-mac-address.secret; - }; -} diff --git a/home/x/i3bar.nix b/home/x/i3bar.nix index 335ba68..c1ec2c3 100644 --- a/home/x/i3bar.nix +++ b/home/x/i3bar.nix @@ -105,12 +105,6 @@ in block = "networkmanager"; primary_only = true; } - { - block = "bluetooth"; - mac = config.my.secrets.bluetooth-mouse-mac-address; - hide_disconnected = true; - format = "{percentage}"; - } { block = "sound"; driver = "pulseaudio";