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,37 @@
{...}: {
flake.homeModules.home-manager-steam = {
lib,
pkgs,
config,
...
}: {
options.programs.steam = {
enable = lib.mkEnableOption "enable steam";
};
config = lib.mkIf config.programs.steam.enable (
lib.mkMerge [
{
home.packages = with pkgs; [
steam
steam.run
];
}
(
lib.mkIf config.impermanence.enable {
home.persistence."${config.impermanence.persistencePath}" = {
directories = [
{
directory = "${config.xdg.dataHome}/Steam";
method = "symlink";
}
];
};
}
)
]
);
# TODO: bind impermanence config
};
}