rose-pine-nix/modules/home-manager/glamour.nix
github-actions[bot] daef2d5b84
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 09:40:59 +00:00

19 lines
346 B
Nix

{ config
, lib
, sources
, ...
}:
let
cfg = config.programs.glamour.catppuccin;
inherit (cfg) enable;
in
{
options.programs.glamour.catppuccin =
lib.ctp.mkCatppuccinOpt "glamour";
config = {
home.sessionVariables = lib.mkIf enable {
GLAMOUR_STYLE = "${sources.glamour}/themes/catppuccin-${cfg.flavour}.json";
};
};
}