1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

borgmatic: note Darwin platform support

The current module works on Darwin as-is; mark the platform as
supported.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
This commit is contained in:
Sirio Balmelli 2024-09-28 17:45:33 +02:00 committed by Robert Helgesson
parent ffe2d07e77
commit 437ec62009
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED
2 changed files with 2 additions and 5 deletions

View file

@ -272,10 +272,7 @@ in {
};
config = mkIf cfg.enable {
assertions = [
(lib.hm.assertions.assertPlatform "programs.borgmatic" pkgs
lib.platforms.linux)
] ++ (mapAttrsToList (backup: opts: {
assertions = (mapAttrsToList (backup: opts: {
assertion = opts.location.sourceDirectories == null
|| opts.location.patterns == null;
message = ''

View file

@ -60,6 +60,7 @@ in import nmtSrc {
./modules/programs/bacon
./modules/programs/bash
./modules/programs/bat
./modules/programs/borgmatic
./modules/programs/bottom
./modules/programs/broot
./modules/programs/browserpass
@ -189,7 +190,6 @@ in import nmtSrc {
./modules/programs/awscli
./modules/programs/beets # One test relies on services.mpd
./modules/programs/bemenu
./modules/programs/borgmatic
./modules/programs/boxxy
./modules/programs/firefox/firefox.nix
./modules/programs/foot