-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
10 changed files
with
274 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ pkgs, ... }: | ||
{ | ||
catppuccin = { | ||
enable = true; | ||
sources = { | ||
# this is used to ensure that we are able to apply | ||
# source overrides without breaking the other sources | ||
palette = pkgs.fetchFromGitHub { | ||
owner = "catppuccin"; | ||
repo = "palette"; | ||
rev = "16726028c518b0b94841de57cf51f14c095d43d8"; # refs/tags/1.1.1~1 | ||
hash = "sha256-qZjMlZFTzJotOYjURRQMsiOdR2XGGba8XzXwx4+v9tk="; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
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 |
Oops, something went wrong.