Add nix env

This commit is contained in:
Administrateur committed 2026-02-14 10:15:54 +01:00
1 parent eba6982552
commit 5bdc2b80ec
2 files changed
+29 -3

No files matched your search

+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
];
};
}