home: i3: setup bluetooth mouse battery block

This commit is contained in:
Antoine Martin 2021-04-21 02:11:48 +02:00
parent 93eccb76ec
commit 0cdb05ecf1
5 changed files with 22 additions and 0 deletions

Binary file not shown.

13
home/secrets/default.nix Normal file
View file

@ -0,0 +1,13 @@
{ lib, ... }:
with lib;
{
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;
};
}