Install yaml2nix.

This commit is contained in:
Tom Alexander
2025-12-08 23:20:33 -05:00
parent 4fbbec96c0
commit 6452d591a7
5 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{
config,
lib,
pkgs,
...
}:
{
imports = [ ];
options.me = {
nixdev.enable = lib.mkOption {
type = lib.types.bool;
default = false;
example = true;
description = "Whether we want to install nixdev.";
};
};
config = lib.mkIf config.me.nixdev.enable {
environment.systemPackages = with pkgs; [
yaml2nix
];
};
}