rose-pine-nix/modules/home-manager/glamour.nix

20 lines
346 B
Nix
Raw Normal View History

{ config
, lib
chore: update lockfiles (#90) * chore: update dev flake inputs Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/2f0db7d418e781354d8a3c50e611e3b1cd413087' (2024-03-13) → 'github:nix-community/home-manager/b787726a8413e11b074cde42704b4af32d95545c' (2024-04-06) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12) → 'github:NixOS/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599' (2024-04-06) * chore: update nvfetcher sources hyprland: fc228737d3d0c12e34a7fa155a0fc3192e5e4017 → b57375545f5da1f7790341905d1049b1873a8bb3 swaylock: ac089b8b8ae7852816fa709f6d97659221b75e18 → 77246bbbbf8926bdb8962cffab6616bc2b9e8a06 helix: 4bf31e995ead4e5f6e8cd4a08ea0497f1d35695b → 0164c4ca888084df4f511da22c6a0a664b5061d2 palette: e44233ceae6809d50cba3c0c95332cc87ffff022 → 408f081b6402d5d17b8324b75c6db5998100757d neovim: 045e3499d9ec8d84635fb08877ae44fd33f6a38d → aebe43db9cb26e1c70fc5b2fd4158169c405e720 sway: c7e54561a2539024020837f23068f70c6d2ae424 → 9c430d7010d73444af5272a596e3a2c058612f71 glamour: 3ef2c9533b6d3c4d6309a850765500179cf32d1c → 66d7b09325af67b1c5cdb063343e829c04ad7d5f tmux: cece0c36772483d1343bcace2b1cedb007057c2e → 5ed4e8a6a20c928688da268dfcdf460ac9c3cb49 zathura: 1bda9d8274dd327b7931886ef0c5c1eb33903814 → 0adc53028d81bf047461bc61c43a484d11b15220 bat: 2bafe4454d8db28491e9087ff3a1382c336e7d27 → b19bea35a85a32294ac4732cad5b0dc6495bed32 lazygit: a544cef9a18c3a94e0344281e0ddcf99a18a8ede → 30bff2e6d14ca12a09d71e5ce4e6a086b3e48aa6 gtk: 26b0d12b1b3f0d3266581f08e428d335eba8b2b2 → edef76faba00f1f8bd8311fc487f0f0b2670dd0d * fix(home-manager): use nvfetcher source for glamour * chore: call-flake -> get-flake --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: seth <getchoo@tuta.io>
2024-04-07 02:40:59 -07:00
, sources
feat: limit use of IFD, add auto updates & vm testing (#40) * 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
2023-11-02 10:55:47 -07:00
, ...
}:
let
cfg = config.programs.glamour.catppuccin;
feat: limit use of IFD, add auto updates & vm testing (#40) * 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
2023-11-02 10:55:47 -07:00
inherit (cfg) enable;
in
{
options.programs.glamour.catppuccin =
feat: limit use of IFD, add auto updates & vm testing (#40) * 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
2023-11-02 10:55:47 -07:00
lib.ctp.mkCatppuccinOpt "glamour";
config = {
home.sessionVariables = lib.mkIf enable {
chore: update lockfiles (#90) * chore: update dev flake inputs Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/2f0db7d418e781354d8a3c50e611e3b1cd413087' (2024-03-13) → 'github:nix-community/home-manager/b787726a8413e11b074cde42704b4af32d95545c' (2024-04-06) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12) → 'github:NixOS/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599' (2024-04-06) * chore: update nvfetcher sources hyprland: fc228737d3d0c12e34a7fa155a0fc3192e5e4017 → b57375545f5da1f7790341905d1049b1873a8bb3 swaylock: ac089b8b8ae7852816fa709f6d97659221b75e18 → 77246bbbbf8926bdb8962cffab6616bc2b9e8a06 helix: 4bf31e995ead4e5f6e8cd4a08ea0497f1d35695b → 0164c4ca888084df4f511da22c6a0a664b5061d2 palette: e44233ceae6809d50cba3c0c95332cc87ffff022 → 408f081b6402d5d17b8324b75c6db5998100757d neovim: 045e3499d9ec8d84635fb08877ae44fd33f6a38d → aebe43db9cb26e1c70fc5b2fd4158169c405e720 sway: c7e54561a2539024020837f23068f70c6d2ae424 → 9c430d7010d73444af5272a596e3a2c058612f71 glamour: 3ef2c9533b6d3c4d6309a850765500179cf32d1c → 66d7b09325af67b1c5cdb063343e829c04ad7d5f tmux: cece0c36772483d1343bcace2b1cedb007057c2e → 5ed4e8a6a20c928688da268dfcdf460ac9c3cb49 zathura: 1bda9d8274dd327b7931886ef0c5c1eb33903814 → 0adc53028d81bf047461bc61c43a484d11b15220 bat: 2bafe4454d8db28491e9087ff3a1382c336e7d27 → b19bea35a85a32294ac4732cad5b0dc6495bed32 lazygit: a544cef9a18c3a94e0344281e0ddcf99a18a8ede → 30bff2e6d14ca12a09d71e5ce4e6a086b3e48aa6 gtk: 26b0d12b1b3f0d3266581f08e428d335eba8b2b2 → edef76faba00f1f8bd8311fc487f0f0b2670dd0d * fix(home-manager): use nvfetcher source for glamour * chore: call-flake -> get-flake --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: seth <getchoo@tuta.io>
2024-04-07 02:40:59 -07:00
GLAMOUR_STYLE = "${sources.glamour}/themes/catppuccin-${cfg.flavour}.json";
};
};
}