git.delta.rocks / jrsonnet / refs/commits / 353fd26e74ae

difftreelog

fix documentation generator fix

Yaroslav Bolyukin2024-11-19parent: #b66f857.patch.diff
in: trunk

3 files changed

modifiedmodules/nixos/secrets.nixdiffbeforeafterboth
7}: let7}: let
8 inherit (builtins) hashString;8 inherit (builtins) hashString;
9 inherit (lib.stringsWithDeps) stringAfter;9 inherit (lib.stringsWithDeps) stringAfter;
10 inherit (lib.options) mkOption;10 inherit (lib.options) mkOption literalExpression;
11 inherit (lib.lists) optional;11 inherit (lib.lists) optional;
12 inherit (lib.attrsets) mapAttrs;12 inherit (lib.attrsets) mapAttrs;
13 inherit (lib.modules) mkIf;13 inherit (lib.modules) mkIf;
78 type = str;78 type = str;
79 description = "Group of the secret";79 description = "Group of the secret";
80 default = sysConfig.users.users.${config.owner}.group;80 default = sysConfig.users.users.${config.owner}.group;
81 defaultText = literalExpression "config.users.users.$${owner}.group";
81 };82 };
82 };83 };
83 });84 });
modifiedmodules/nixpkgs.nixdiffbeforeafterboth
4 config,4 config,
5 ...5 ...
6}: let6}: let
7 inherit (lib.options) mkOption;7 inherit (lib.options) mkOption literalExpression;
8 inherit (lib.types) path;8 inherit (lib.types) path;
9 inherit (lib.modules) mkRemovedOptionModule;9 inherit (lib.modules) mkRemovedOptionModule;
10 inherit (fleetLib.options) mkHostsOption;10 inherit (fleetLib.options) mkHostsOption;
39 '';39 '';
40 type = path;40 type = path;
41 default = config.nixpkgs.buildUsing;41 default = config.nixpkgs.buildUsing;
42 defaultText = literalExpression "config.nixpkgs.buildUsing";
42 };43 };
43 # imports = [44 # imports = [
44 # (mkRemovedOptionModule ["nixpkgs" "overlays"] "this option needs to be specified at nixosModules level")45 # (mkRemovedOptionModule ["nixpkgs" "overlays"] "this option needs to be specified at nixosModules level")
modifiedmodules/secrets.nixdiffbeforeafterboth
3 config,3 config,
4 ...4 ...
5}: let5}: let
6 inherit (lib.options) mkOption;6 inherit (lib.options) mkOption literalExpression;
7 inherit (lib.types) unspecified nullOr listOf str bool attrsOf submodule;7 inherit (lib.types) unspecified nullOr listOf str bool attrsOf submodule;
8 inherit (lib.strings) concatStringsSep;8 inherit (lib.strings) concatStringsSep;
9 inherit (lib.attrsets) mapAttrs;9 inherit (lib.attrsets) mapAttrs;
30 };30 };
31 regenerateOnOwnerRemoved = mkOption {31 regenerateOnOwnerRemoved = mkOption {
32 default = config.regenerateOnOwnerAdded;32 default = config.regenerateOnOwnerAdded;
33 defaultText = literalExpression "regenerateOnOwnerAdded";
33 type = bool;34 type = bool;
34 description = ''35 description = ''
35 Should this secret be removed on owner removal, or it may be just reencrypted36 Should this secret be removed on owner removal, or it may be just reencrypted