mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 10:08:45 +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"; }
|
|
];
|
|
}
|