2021-04-21 02:11:48 +02:00
|
|
|
{ lib, ... }:
|
2022-01-11 16:08:21 +01:00
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
fileContents
|
|
|
|
mkOption
|
|
|
|
types
|
|
|
|
;
|
|
|
|
in
|
2021-04-21 02:11:48 +02:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|