dotfiles

My PC Dotfiles & Website
commit f2d2d480935cfdfcd32656de21c9d4c8faaefc0e
parent 5d1b659883701df5f075d79323979fee9c61f04a
Author: maydayv7 <maydayv7@gmail.com>
Date:   Wed, 11 May 2022 11:29:56 +0530

refactor: Bifurcate `templates`

Diffstat:

A.templates/default.nix | 26++++++++++++++++++++++++++
Mconfiguration.nix | 25+------------------------
Msite/content/anime.md | 9++++++++-
3 files changed, 35 insertions(+), 25 deletions(-)

diff --git a/.templates/default.nix b/.templates/default.nix @@ -0,0 +1,26 @@ +lib: +with {inherit (lib.filters) filter matchExt;}; { + ## Configuration Templates ## + default = { + description = "Simple, Minimal NixOS Configuration"; + path = filter { + root = ./minimal; + include = [(matchExt "nix")]; + }; + }; + + extensive = { + description = "My Complete, Extensive NixOS Configuration"; + path = filter { + root = ../.; + exclude = [ + ./.github + ./.gitlab + ./site + ./packages/website.nix + (matchExt "md") + (matchExt "secret") + ]; + }; + }; +} diff --git a/configuration.nix b/configuration.nix @@ -85,30 +85,7 @@ in // {default = import ./modules {inherit version lib inputs files;};}; ## Configuration Templates ## - templates = { - default = { - description = "Simple, Minimal NixOS Configuration"; - path = filters.filter { - root = ./.templates/minimal; - include = [(filters.matchExt "nix")]; - }; - }; - - extensive = { - description = "My Complete, Extensive NixOS Configuration"; - path = filters.filter { - root = ./.; - exclude = [ - ./.github - ./.gitlab - ./site - ./packages/website.nix - (filters.matchExt "md") - (filters.matchExt "secret") - ]; - }; - }; - }; + templates = import ./.templates lib; ## Device Configuration ## deploy = import ./modules/nix/deploy.nix {inherit self lib;}; diff --git a/site/content/anime.md b/site/content/anime.md @@ -10,13 +10,18 @@ comments = true # Seen - 3D Kanojo +- 86 <sup>\*</sup> <sup>#</sup> +- A Silent Voice +- Ao-chan can't Study - Bunny Girl Senpai - Chuunibyou demo Koi ga Shitai! <sup>#</sup> - Clannad <sup>#</sup> - Classroom of the Elite <sup>\*</sup> +- Date a Live <sup>\*</sup> <sup>#</sup> - Death Note - Domestic Girlfriend - Fruits Basket <sup>#</sup> +- Gekkan Shoujo Nozaki-kun - Golden Time - Horimiya - I Can't Understand What My Husband Is Saying @@ -48,15 +53,17 @@ comments = true - [x] Aharen-san wa Hakarenai - [x] Kawaii dake ja nai Shikimori-san - [x] Spy X Family +- [ ] Kakkou no Iinazuke +- [ ] Koiseka # Wishlist - [ ] Gosick - [x] Hyouka - [ ] One Outs -- [x] Date a Live <sup>\*</sup> <sup>#</sup> - [ ] Steins;Gate <sup>#</sup> - [ ] Skilled Teaser Takagi-san <sup>#</sup> +- [ ] A Place Further than the Universe ---