refactor(nix): Make duti only install on macOS

This commit is contained in:
Ahmad Ansori Palembani 2024-07-16 10:27:57 +07:00
parent b27596dac3
commit 24c6d78f8f
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 3 additions and 4 deletions

View file

@ -31,10 +31,12 @@
pkgs.nmap pkgs.nmap
pkgs.cargo pkgs.cargo
pkgs.android-tools pkgs.android-tools
# pkgs.browserpass
pkgs.coreutils-full pkgs.coreutils-full
# >> For macOS only
] ++ pkgs.lib.optionals (pkgs.stdenv.isDarwin) [
pkgs.duti pkgs.duti
]; ];
# << For macOS only
# Auto upgrade nix package and the daemon service. # Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
@ -77,4 +79,3 @@
}; };
}; };
} }
# vim:set ts=2 sw=2 et:

View file

@ -51,4 +51,3 @@ in
]; ];
}; };
} }
# vim:set ts=2 sw=2 et:

View file

@ -28,4 +28,3 @@
); );
}; };
} }
# vim:set ts=2 sw=2 et: