diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-05-09 17:54:45 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-05-09 17:54:45 -0500 |
commit | 4ea08b3976188eb01a74548d68b227a7794b4caa (patch) | |
tree | 505c0df98ed00ed592be15895b8ed3eb7aa9e2c3 /modules/envfs.nix | |
download | nixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.tar.gz nixos-config-4ea08b3976188eb01a74548d68b227a7794b4caa.zip |
Add current configuration
Diffstat (limited to 'modules/envfs.nix')
-rw-r--r-- | modules/envfs.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/envfs.nix b/modules/envfs.nix new file mode 100644 index 0000000..638d1a0 --- /dev/null +++ b/modules/envfs.nix @@ -0,0 +1,12 @@ +{ config, lib, ... }: + +{ + options = { + this.envfs.enable = lib.mkEnableOption "envfs"; + }; + + config = lib.mkIf config.this.envfs.enable { + services.envfs.enable = true; + environment.variables.ENVFS_RESOLVE_ALWAYS = 1; + }; +} |