state: remove /home from default state folders

Home should not always be set by default.
In the UI we can suggest it, but it catches a lot of state you might not
want to back up.

The default has been moved to be automatically set by vm's in `vm.nix`.
This commit is contained in:
a-kenji
2024-08-14 15:12:29 +02:00
committed by kenji
parent 88d3223ac0
commit c3a491a8d9
2 changed files with 2 additions and 2 deletions

View File

@@ -106,8 +106,6 @@
);
};
# defaults
config.clan.core.state.HOME.folders = [ "/home" ];
config.environment.systemPackages = lib.optional (config.clan.core.state != { }) (
pkgs.runCommand "state-commands" { } ''
${builtins.concatStringsSep "\n" (

View File

@@ -20,6 +20,8 @@ let
./waypipe.nix
];
clan.core.state.HOME.folders = [ "/home" ];
clan.services.waypipe = {
inherit (config.clan.core.vm.inspect.waypipe) enable command;
};