feat(home-manager): init rio module (#100)
This commit is contained in:
parent
2f2a820aa7
commit
453cca1f22
4 changed files with 54 additions and 0 deletions
|
@ -439,6 +439,26 @@
|
||||||
},
|
},
|
||||||
"version": "989420b24e1f651b176c9d6083ad7c3b90a27f8b"
|
"version": "989420b24e1f651b176c9d6083ad7c3b90a27f8b"
|
||||||
},
|
},
|
||||||
|
"rio": {
|
||||||
|
"cargoLocks": null,
|
||||||
|
"date": "2023-12-05",
|
||||||
|
"extract": null,
|
||||||
|
"name": "rio",
|
||||||
|
"passthru": null,
|
||||||
|
"pinned": false,
|
||||||
|
"src": {
|
||||||
|
"deepClone": false,
|
||||||
|
"fetchSubmodules": false,
|
||||||
|
"leaveDotGit": false,
|
||||||
|
"name": null,
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "rio",
|
||||||
|
"rev": "a8d3d3c61f828da5f3d6d02d7d489108f6428178",
|
||||||
|
"sha256": "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"version": "a8d3d3c61f828da5f3d6d02d7d489108f6428178"
|
||||||
|
},
|
||||||
"rofi": {
|
"rofi": {
|
||||||
"cargoLocks": null,
|
"cargoLocks": null,
|
||||||
"date": "2022-12-31",
|
"date": "2022-12-31",
|
||||||
|
|
|
@ -265,6 +265,18 @@
|
||||||
};
|
};
|
||||||
date = "2024-02-03";
|
date = "2024-02-03";
|
||||||
};
|
};
|
||||||
|
rio = {
|
||||||
|
pname = "rio";
|
||||||
|
version = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "rio";
|
||||||
|
rev = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
|
||||||
|
fetchSubmodules = false;
|
||||||
|
sha256 = "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=";
|
||||||
|
};
|
||||||
|
date = "2023-12-05";
|
||||||
|
};
|
||||||
rofi = {
|
rofi = {
|
||||||
pname = "rofi";
|
pname = "rofi";
|
||||||
version = "5350da41a11814f950c3354f090b90d4674a95ce";
|
version = "5350da41a11814f950c3354f090b90d4674a95ce";
|
||||||
|
|
18
modules/home-manager/rio.nix
Normal file
18
modules/home-manager/rio.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{ config
|
||||||
|
, lib
|
||||||
|
, sources
|
||||||
|
, ...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
inherit (lib) ctp;
|
||||||
|
cfg = config.programs.rio.catppuccin;
|
||||||
|
enable = cfg.enable && config.programs.rio.enable;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.programs.rio.catppuccin =
|
||||||
|
ctp.mkCatppuccinOpt "rio";
|
||||||
|
|
||||||
|
config = lib.mkIf enable {
|
||||||
|
programs.rio.settings = lib.importTOML "${sources.rio}/catppuccin-${cfg.flavour}.toml";
|
||||||
|
};
|
||||||
|
}
|
|
@ -86,6 +86,10 @@ fetch.github = "catppuccin/palette"
|
||||||
src.git = "https://github.com/catppuccin/polybar.git"
|
src.git = "https://github.com/catppuccin/polybar.git"
|
||||||
fetch.github = "catppuccin/polybar"
|
fetch.github = "catppuccin/polybar"
|
||||||
|
|
||||||
|
[rio]
|
||||||
|
src.git = "https://github.com/catppuccin/rio.git"
|
||||||
|
fetch.github = "catppuccin/rio"
|
||||||
|
|
||||||
[rofi]
|
[rofi]
|
||||||
src.git = "https://github.com/catppuccin/rofi.git"
|
src.git = "https://github.com/catppuccin/rofi.git"
|
||||||
fetch.github = "catppuccin/rofi"
|
fetch.github = "catppuccin/rofi"
|
||||||
|
|
Loading…
Reference in a new issue