mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 08:29:17 +08:00
13 lines
310 B
Nix
13 lines
310 B
Nix
|
inputs:
|
||
|
{
|
||
|
options.nixos.system.envfs = let inherit (inputs.lib) mkOption types; in
|
||
|
{
|
||
|
enable = mkOption { type = types.bool; default = true; };
|
||
|
};
|
||
|
config = inputs.lib.mkMerge
|
||
|
[
|
||
|
(inputs.topInputs.envfs.nixosModules.envfs inputs)
|
||
|
{ environment.variables.ENVFS_RESOLVE_ALWAYS = "1"; }
|
||
|
];
|
||
|
}
|