modules/borgbackup: migrate to clanServices
Migrates the borgbackup module to clanServices, preserving it's original configuration syntax and functionality
This commit is contained in:
@@ -41,7 +41,7 @@ in
|
||||
|
||||
# Base Tests
|
||||
secrets = self.clanLib.test.baseTest ./secrets nixosTestArgs;
|
||||
borgbackup = self.clanLib.test.baseTest ./borgbackup nixosTestArgs;
|
||||
borgbackup-legacy = self.clanLib.test.baseTest ./borgbackup-legacy nixosTestArgs;
|
||||
wayland-proxy-virtwl = self.clanLib.test.baseTest ./wayland-proxy-virtwl nixosTestArgs;
|
||||
|
||||
# Container Tests
|
||||
@@ -53,6 +53,7 @@ in
|
||||
# Clan Tests
|
||||
dummy-inventory-test = import ./dummy-inventory-test nixosTestArgs;
|
||||
admin = import ./admin nixosTestArgs;
|
||||
borgbackup = import ./borgbackup nixosTestArgs;
|
||||
data-mesher = import ./data-mesher nixosTestArgs;
|
||||
syncthing = import ./syncthing nixosTestArgs;
|
||||
}
|
||||
@@ -108,11 +109,13 @@ in
|
||||
cat $schemaFile > $out/allSchemas.json
|
||||
'';
|
||||
|
||||
clan-core-for-checks = pkgs.runCommand "clan-core-for-checks" { } ''
|
||||
cp -r ${pkgs.callPackage ./clan-core-for-checks.nix { }} $out
|
||||
chmod +w $out/flake.lock
|
||||
cp ${../flake.lock} $out/flake.lock
|
||||
'';
|
||||
clan-core-for-checks = self;
|
||||
|
||||
# pkgs.runCommand "clan-core-for-checks" { } ''
|
||||
# cp -r ${pkgs.callPackage ./clan-core-for-checks.nix { }} $out
|
||||
# chmod +w $out/flake.lock
|
||||
# cp ${../flake.lock} $out/flake.lock
|
||||
# '';
|
||||
};
|
||||
legacyPackages = {
|
||||
nixosTests =
|
||||
|
||||
Reference in New Issue
Block a user