feat(home-manager): init imv module (#94)
This commit is contained in:
parent
dcdab84b3b
commit
92034aab31
5 changed files with 53 additions and 0 deletions
|
@ -219,6 +219,26 @@
|
|||
},
|
||||
"version": "b57375545f5da1f7790341905d1049b1873a8bb3"
|
||||
},
|
||||
"imv": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-01-17",
|
||||
"extract": null,
|
||||
"name": "imv",
|
||||
"passthru": null,
|
||||
"pinned": false,
|
||||
"src": {
|
||||
"deepClone": false,
|
||||
"fetchSubmodules": false,
|
||||
"leaveDotGit": false,
|
||||
"name": null,
|
||||
"owner": "catppuccin",
|
||||
"repo": "imv",
|
||||
"rev": "0317a097b6ec8122b1da6d02f61d0c5158019f6e",
|
||||
"sha256": "sha256-n6obxM5iVSOdlGdI8ZEmYuxudarLoZHqGETrpTcdrok=",
|
||||
"type": "github"
|
||||
},
|
||||
"version": "0317a097b6ec8122b1da6d02f61d0c5158019f6e"
|
||||
},
|
||||
"kitty": {
|
||||
"cargoLocks": null,
|
||||
"date": "2024-01-10",
|
||||
|
|
|
@ -133,6 +133,18 @@
|
|||
};
|
||||
date = "2024-04-03";
|
||||
};
|
||||
imv = {
|
||||
pname = "imv";
|
||||
version = "0317a097b6ec8122b1da6d02f61d0c5158019f6e";
|
||||
src = fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "imv";
|
||||
rev = "0317a097b6ec8122b1da6d02f61d0c5158019f6e";
|
||||
fetchSubmodules = false;
|
||||
sha256 = "sha256-n6obxM5iVSOdlGdI8ZEmYuxudarLoZHqGETrpTcdrok=";
|
||||
};
|
||||
date = "2024-01-17";
|
||||
};
|
||||
kitty = {
|
||||
pname = "kitty";
|
||||
version = "d7d61716a83cd135344cbb353af9d197c5d7cec1";
|
||||
|
|
16
modules/home-manager/imv.nix
Normal file
16
modules/home-manager/imv.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config
|
||||
, lib
|
||||
, sources
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
cfg = config.programs.imv.catppuccin;
|
||||
enable = cfg.enable && config.programs.imv.enable;
|
||||
in
|
||||
{
|
||||
options.programs.imv.catppuccin =
|
||||
lib.ctp.mkCatppuccinOpt "imv";
|
||||
|
||||
config.programs.imv.settings = lib.mkIf enable
|
||||
(lib.ctp.fromINI (sources.imv + /themes/${cfg.flavour}.config));
|
||||
}
|
|
@ -42,6 +42,10 @@ fetch.github = "catppuccin/helix"
|
|||
src.git = "https://github.com/catppuccin/hyprland.git"
|
||||
fetch.github = "catppuccin/hyprland"
|
||||
|
||||
[imv]
|
||||
src.git = "https://github.com/catppuccin/imv.git"
|
||||
fetch.github = "catppuccin/imv"
|
||||
|
||||
[kitty]
|
||||
src.git = "https://github.com/catppuccin/kitty.git"
|
||||
fetch.github = "catppuccin/kitty"
|
||||
|
|
1
test.nix
1
test.nix
|
@ -64,6 +64,7 @@ in
|
|||
glamour.catppuccin.enable = true;
|
||||
helix = ctpEnable;
|
||||
home-manager.enable = false;
|
||||
imv = ctpEnable;
|
||||
kitty = ctpEnable;
|
||||
lazygit = ctpEnable;
|
||||
micro = ctpEnable;
|
||||
|
|
Loading…
Reference in a new issue