Compare commits

..

3 commits

Author SHA1 Message Date
Bruno BELANYI 6eb3942270 home: firefox: add sponsorblock
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-27 19:51:04 +02:00
Bruno BELANYI 2232062fd9 home: secrets: use more specific type
I will amend it if I need more types, but for now this is fine.
2021-06-27 19:48:42 +02:00
Bruno BELANYI d6e9f9786d secrets: use more specific type
I will amend it if I need more types, but for now this is fine.
2021-06-27 19:48:26 +02:00
3 changed files with 19 additions and 2 deletions

View file

@ -46,6 +46,7 @@ in
https-everywhere
i-dont-care-about-cookies
reddit-enhancement-suite
sponsorblock
ublock-origin
]
++ lib.optional (cfg.tridactyl.enable) tridactyl

View file

@ -14,7 +14,15 @@ let
in
throwOnCanary {
options.my.secrets = mkOption {
type = types.attrs;
type =
let
valueType = with types; oneOf [
int
str
(attrsOf valueType)
];
in
valueType;
};
config.my.secrets = {

View file

@ -14,7 +14,15 @@ let
in
throwOnCanary {
options.my.secrets = mkOption {
type = types.attrs;
type =
let
valueType = with types; oneOf [
int
str
(attrsOf valueType)
];
in
valueType;
};
config.my.secrets = {