rose-pine-nix/tests/home.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

82 lines
1.6 KiB
Nix

{ lib, ... }:
{
imports = [
../modules/home-manager
./common.nix
];
xdg.enable = true;
home = {
username = "test";
stateVersion = lib.mkDefault "23.11";
};
manual.manpages.enable = lib.mkDefault false;
i18n.inputMethod.enabled = "fcitx5";
programs = {
alacritty.enable = true;
bat.enable = true;
bottom.enable = true;
btop.enable = true;
cava.enable = true;
fish.enable = true;
foot.enable = true;
fzf.enable = true;
gh-dash.enable = true;
git = {
enable = true;
delta.enable = true;
};
gitui.enable = true;
# this is enabled by default already, but still
# listing explicitly so we know it's tested
glamour.catppuccin.enable = true;
helix.enable = true;
imv.enable = true;
k9s.enable = true;
kitty.enable = true;
lazygit.enable = true;
micro.enable = true;
mpv.enable = true;
neovim.enable = true;
newsboat.enable = true;
rio.enable = true;
rofi.enable = true;
skim.enable = true;
starship.enable = true;
swaylock.enable = true;
tmux.enable = true;
tofi.enable = true;
waybar.enable = true;
yazi.enable = true;
zathura.enable = true;
zellij.enable = true;
zsh = {
enable = true;
syntaxHighlighting.enable = true;
};
};
qt = {
enable = true;
platformTheme.name = "kvantum";
style.name = "kvantum";
};
services = {
dunst.enable = true;
mako.enable = true;
polybar = {
enable = true;
script = ''
polybar top &
'';
};
};
wayland.windowManager.sway.enable = true;
wayland.windowManager.hyprland.enable = true;
}