Skip to content

Commit 7cf37a6

Browse files
feat(home-manager): init rio module
1 parent 4043beb commit 7cf37a6

File tree

4 files changed

+54
-0
lines changed

4 files changed

+54
-0
lines changed

_sources/generated.json

+20
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,26 @@
379379
},
380380
"version": "989420b24e1f651b176c9d6083ad7c3b90a27f8b"
381381
},
382+
"rio": {
383+
"cargoLocks": null,
384+
"date": "2023-12-05",
385+
"extract": null,
386+
"name": "rio",
387+
"passthru": null,
388+
"pinned": false,
389+
"src": {
390+
"deepClone": false,
391+
"fetchSubmodules": false,
392+
"leaveDotGit": false,
393+
"name": null,
394+
"owner": "catppuccin",
395+
"repo": "rio",
396+
"rev": "a8d3d3c61f828da5f3d6d02d7d489108f6428178",
397+
"sha256": "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=",
398+
"type": "github"
399+
},
400+
"version": "a8d3d3c61f828da5f3d6d02d7d489108f6428178"
401+
},
382402
"starship": {
383403
"cargoLocks": null,
384404
"date": "2023-07-13",

_sources/generated.nix

+12
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,18 @@
229229
};
230230
date = "2024-02-03";
231231
};
232+
rio = {
233+
pname = "rio";
234+
version = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
235+
src = fetchFromGitHub {
236+
owner = "catppuccin";
237+
repo = "rio";
238+
rev = "a8d3d3c61f828da5f3d6d02d7d489108f6428178";
239+
fetchSubmodules = false;
240+
sha256 = "sha256-bT789sEDJl3wQh/yfbmjD/J7XNr2ejOd0UsASguyCQo=";
241+
};
242+
date = "2023-12-05";
243+
};
232244
starship = {
233245
pname = "starship";
234246
version = "5629d2356f62a9f2f8efad3ff37476c19969bd4f";

modules/home-manager/rio.nix

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{ config
2+
, lib
3+
, sources
4+
, ...
5+
}:
6+
let
7+
inherit (lib) ctp;
8+
cfg = config.programs.rio.catppuccin;
9+
enable = cfg.enable && config.programs.rio.enable;
10+
in
11+
{
12+
options.programs.rio.catppuccin =
13+
ctp.mkCatppuccinOpt "rio";
14+
15+
config = lib.mkIf enable {
16+
programs.rio.settings = lib.importTOML "${sources.rio}/catppuccin-${cfg.flavour}.toml";
17+
};
18+
}

nvfetcher.toml

+4
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ fetch.github = "catppuccin/palette"
7474
src.git = "https://github.com/catppuccin/polybar.git"
7575
fetch.github = "catppuccin/polybar"
7676

77+
[rio]
78+
src.git = "https://github.com/catppuccin/rio.git"
79+
fetch.github = "catppuccin/rio"
80+
7781
[starship]
7882
src.git = "https://github.com/catppuccin/starship.git"
7983
fetch.github = "catppuccin/starship"

0 commit comments

Comments
 (0)