X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fenvironment.nix;h=1cc3b6cc315752657b603321337245786c7c0ef1;hb=ea0ba77c80b2b76836eaad7e62666df091262818;hp=ae00298039b2921ac74f97ab369fec84197a0255;hpb=3aecbbd99c30a43fa6f54c2c9282eca5e170dd02;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/environment.nix b/modules/private/environment.nix index ae00298..1cc3b6c 100644 --- a/modules/private/environment.nix +++ b/modules/private/environment.nix @@ -908,6 +908,8 @@ in default = {}; type = attrsOf (submodule { options = { + assetType = mkOption { type = enum ["tgz" "url" "googleFont"]; default = "url"; description = "Type of asset"; }; + tgzRemoveComponents = mkOption { type = int; default = 0; description = "Remove components when extracting"; }; url = mkOption { type = str; description = "URL to fetch"; }; sha256 = mkOption { type = str; description = "Hash of the url"; }; };