mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00: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:
parent
ffe2d07e77
commit
437ec62009
2 changed files with 2 additions and 5 deletions
|
@ -272,10 +272,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = (mapAttrsToList (backup: opts: {
|
||||||
(lib.hm.assertions.assertPlatform "programs.borgmatic" pkgs
|
|
||||||
lib.platforms.linux)
|
|
||||||
] ++ (mapAttrsToList (backup: opts: {
|
|
||||||
assertion = opts.location.sourceDirectories == null
|
assertion = opts.location.sourceDirectories == null
|
||||||
|| opts.location.patterns == null;
|
|| opts.location.patterns == null;
|
||||||
message = ''
|
message = ''
|
||||||
|
|
|
@ -60,6 +60,7 @@ in import nmtSrc {
|
||||||
./modules/programs/bacon
|
./modules/programs/bacon
|
||||||
./modules/programs/bash
|
./modules/programs/bash
|
||||||
./modules/programs/bat
|
./modules/programs/bat
|
||||||
|
./modules/programs/borgmatic
|
||||||
./modules/programs/bottom
|
./modules/programs/bottom
|
||||||
./modules/programs/broot
|
./modules/programs/broot
|
||||||
./modules/programs/browserpass
|
./modules/programs/browserpass
|
||||||
|
@ -189,7 +190,6 @@ in import nmtSrc {
|
||||||
./modules/programs/awscli
|
./modules/programs/awscli
|
||||||
./modules/programs/beets # One test relies on services.mpd
|
./modules/programs/beets # One test relies on services.mpd
|
||||||
./modules/programs/bemenu
|
./modules/programs/bemenu
|
||||||
./modules/programs/borgmatic
|
|
||||||
./modules/programs/boxxy
|
./modules/programs/boxxy
|
||||||
./modules/programs/firefox/firefox.nix
|
./modules/programs/firefox/firefox.nix
|
||||||
./modules/programs/foot
|
./modules/programs/foot
|
||||||
|
|
Loading…
Reference in a new issue