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:
@@ -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" (
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user