Simplify home profile activation by folding it into the tags logic

This commit is contained in:
Bun 2025-06-30 11:04:46 -04:00
parent b3ba7481d8
commit 3398c611b7
27 changed files with 74 additions and 216 deletions

View file

@ -4,11 +4,13 @@
./boot
./disko
./hardware
./user
];
system = {
nixos.tags = [ "pc" ];
nixos.tags = [
"pc"
"production"
];
stateVersion = "24.11";
};

View file

@ -1,7 +0,0 @@
{ config, ... }:
{
home-manager.users."${config.vars.mainUser}".home = {
desktop.enable = true;
production.enable = true;
};
}