mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +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:
parent
ffe2d07e77
commit
437ec62009
2 changed files with 2 additions and 5 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue