nix: exorcise all with <expr>; uses

This commit is contained in:
Antoine Martin 2022-01-11 16:08:21 +01:00
parent ef59fd800e
commit 912073bee6
67 changed files with 576 additions and 259 deletions

View file

@ -1,6 +1,10 @@
{ config, lib, ... }:
with lib;
let
inherit (lib)
mkOption
types
;
themeType = types.submodule {
options = {
alacrittyTheme = mkOption {
@ -29,7 +33,7 @@ in
};
options.my.themes = mkOption {
type = with types; attrsOf themeType;
type = types.attrsOf themeType;
};
config.my.themes = {