Add nix env

This commit is contained in:
2026-02-14 10:15:54 +01:00
parent eba6982552
commit 5bdc2b80ec
2 changed files with 29 additions and 3 deletions
+23
View File
@@ -0,0 +1,23 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.home.env.nix;
in
{
options.home.env.nix = {
enable = mkEnableOption "Zen Editor options";
};
config = mkIf cfg.enable {
home.packages = with pkgs; [
nil
nixd
];
};
}