rose-pine-nix/tests/darwin.nix
seth 3fdc011242
chore(modules): add tests for home-manager on darwin (#251)
* chore(modules): add tests for home-manager on darwin

* ci: use nix-fast-build for tests

this also enables the new darwin tests

* chore(tests): disable unsupported modules on darwin

* docs: add `tests` scope to CONTRIBUTING.md

* fix(home-manager): exclude `gtk.catppuccin.icon` from global enable

this was accidentally enabled by default only with `catppuccin.enable`

* fix(tests): build activationPackage for darwin
2024-06-29 10:09:49 -04:00

43 lines
1.1 KiB
Nix

{
lib,
pkgs,
home-manager,
}:
(home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./home.nix
{
home = {
homeDirectory = "/Users/test";
};
i18n.inputMethod.enabled = lib.mkForce null;
programs = {
cava.enable = lib.mkForce false; # NOTE: this may actually work on darwin, but the package is currently not supported
foot.enable = lib.mkForce false;
imv.enable = lib.mkForce false;
mpv.enable = lib.mkForce false; # NOTE: same as cava, but `mpv` fails to build currently
rofi.enable = lib.mkForce false;
swaylock.enable = lib.mkForce false;
tofi.enable = lib.mkForce false;
waybar.enable = lib.mkForce false;
};
qt.enable = lib.mkForce false; # NOTE: same as cava
services = {
dunst.enable = lib.mkForce false;
mako.enable = lib.mkForce false;
polybar.enable = lib.mkForce false;
};
wayland.windowManager = {
hyprland.enable = lib.mkForce false;
sway.enable = lib.mkForce false;
};
}
];
}).activationPackage