refactor: moved darwin, home-manager, and system configurations to dendrite pattern

This commit is contained in:
Leyla Becker 2026-04-07 15:58:45 -05:00
parent 0ea11e0236
commit 149f4f151f
193 changed files with 3284 additions and 3095 deletions

View file

@ -0,0 +1,28 @@
{...}: {
flake.commonModules.nix-development = {
lib,
pkgs,
config,
inputs,
...
}: {
options.host.nix-development.enable = lib.mkEnableOption "should desktop configuration be enabled";
config = lib.mkMerge [
{
host.nix-development.enable = lib.mkDefault true;
}
(lib.mkIf config.host.nix-development.enable {
nix = {
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
};
environment.systemPackages = with pkgs; [
# nix language server
nil
# nix formatter
alejandra
];
})
];
};
}