* fix(home-manager/k9s): k9s on darwin with xdg disabled
k9s expects configuration files on OS X to live in
`~/Library/Application Support/k9s` instead of `~/.config.k9s`. This
commit handles the case where the module is built for a darwin system
with xdg disabled.
* Refactored
- More closely matches the upstream module in home-manager
- Formatted with nixfmt-rfc-style
* Added missing parentheses
Co-authored-by: seth <getchoo@tuta.io>
---------
Co-authored-by: seth <getchoo@tuta.io>
* fix(home-manager/lazygit): support darwin without XDG
Lazygit would fail to load becase the wrong path was being generated to
the configuration file on darwin systems when XDG wasn't enabled.
* Refactored
* fix(home-manager/lazygit): actually use xdg directory when it's enabled
---------
Co-authored-by: seth <getchoo@tuta.io>
* feat(home-manager): add support for spotify-player
* fix: make use of `inherit`
Co-authored-by: seth <getchoo@tuta.io>
* feat(spotify-player): enable in tests
* chore: update spotify-player input
---------
Co-authored-by: seth <getchoo@tuta.io>
* fix(home-manager): make hyprcursor inherit size
* fix(home-manager): unset hyprcursor env vars in hyprland config
They're already set in `home.sessionVariables`.
Note that you need to launch hyprland from a login
shell in order for the variables to be set, but
I doubt that hyprcursor was being used prior to
this commit since `MyCursor` is invalid
* refactor(home-manager): set `accent(Alpha)` through hyprland nix config
Why not use nix config when it exists
* 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
while having `qt.enable` be a prerequisite for this option applying
makes sense, the requirement on a specific `style.name` is not. this
make it more clear by moving that check to an assertion rather than an
internal comparison
* fix(nixos): use the qt 6 version of sddm
the upstream port has moved to qt 6, while nixos' default is still qt 5
* chore(nixos): use the qt6 version of sddm in tests
---------
Co-authored-by: seth <getchoo@tuta.io>
* chore: rename `mkFlavourOpt` to `mkFlavorOpt`
Missed by fea5242
* fix(nixos): sddm package not being installed
Never use attrset merge operator with `mk*` attrsets since the right hand attrset overrides the left
* chore(modules): add mkVersionedOpts to lib
* ci: test against stable nixos/home-manager
* feat(modules): support nixos & home-manager's stable branches
* docs: add version support information
* feat(modules): add `catppuccin.sources` option
* refactor(modules)!: nvfetcher -> npins
npins gives us a nicer file to import that is a simple name value pair
of the port and the path in the store. this allows for easier overriding
with the catppuccin.sources option
* fix(modules): ensure default sources are applied to `catppuccin.sources`
* feat(home-manager/gtk): add gnome option
Add an option to set the gtk theme as gnome shell's theme using the
user-theme gnome extension
* implemented feedbacks
* style(home-manager): format gtk module
---------
Co-authored-by: seth <getchoo@tuta.io>
The uncapitalized gtkTheme made the generated theme name incorrect wich prevented
the theme to be set correctly and made the symlinks in ~/.config/gtk-4.0 broken
* feat(home-manager/hyprland): source theme + accent
Since Home Manager defbb9c, Hyprland on Home Manager now sources files
before most other configuration, meaning Catppuccin Nix can now source a
theme colors file instead of inserting them into the main configuration.
In addition, `accent` and `accentAlpha` color variables have been added
in a second sourced file.
* chore(home-manager): format hyprland.nix
---------
Co-authored-by: Liassica <git-commit.jingle869@aleeas.com>
Co-authored-by: seth <getchoo@tuta.io>
* feat(modules): remove unnecessary IFD
by moving all upstream repos to our flake inputs, we no longer need
to have [IFD](https://nixos.wiki/wiki/Import_From_Derivation) in most
of our modules - making evaluation faster for all configurations. the
only remaining instances of IFD are in `lib.ctp.toYAML` and the themes
for kitty, which is due to it's use upstream in home-manager
* ci: start auto updating flake inputs
* ci: init basic vm tests
* ci: rename ci to format
* ci: use PAT for update-lock workflow
this is required to run tests such as test-vm after the pull request is
made
* fix(home-manager): make sure to use readFile in helix module
* ci: fix typo in test-vm
* ci: use verbose logging in test-vm & enable kvm
* docs: add flake inputs & vm testing to CONTRIBUTING.md
* feat(modules)!: use nvfetcher for upstream sources
* docs: add information about nvfetcher
* chore: don't include flake-compat in flake inputs
while this does make us lose out on easy updating, i think it's nice not
have this as a required dependency for flake users
* chore: update flake inputs
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/f58889c07efa8e1328fdf93dc1796ec2a5c47f38' (2023-07-29)
→ 'github:nix-community/home-manager/48b0a30202516e25d9885525fbb200a045f23f26' (2023-11-01)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/2a9d660ff0f7ffde9d73be328ee6e6f10ef66b28' (2023-07-28)
→ 'github:NixOS/nixpkgs/0cbe9f69c234a7700596e943bfae7ef27a31b735' (2023-10-29)
* chore: update nvfetcher sources
* refactor: don't instantiate nixpkgs in flake + cleanup vm test
* fix(home-manager): update paths from new lazygit theme revision
* feat(lib)!: use constant module arguments automatically