my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
12
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: drop option docs

+5 -327
-4
docs/src/SUMMARY.md
··· 28 28 29 29 libdoc 30 30 31 - # options 32 - 33 - - [options search](search/index.html) 34 - 35 31 # Further Reading 36 32 37 33 - [further reading](further-reading.md)
-88
flake.lock
··· 123 123 "type": "github" 124 124 } 125 125 }, 126 - "flake-utils": { 127 - "inputs": { 128 - "systems": [ 129 - "systems" 130 - ] 131 - }, 132 - "locked": { 133 - "lastModified": 1731533236, 134 - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 135 - "owner": "numtide", 136 - "repo": "flake-utils", 137 - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 138 - "type": "github" 139 - }, 140 - "original": { 141 - "owner": "numtide", 142 - "repo": "flake-utils", 143 - "type": "github" 144 - } 145 - }, 146 126 "gift-wrap": { 147 127 "inputs": { 148 128 "nixpkgs": [ ··· 224 204 "type": "github" 225 205 } 226 206 }, 227 - "ixx": { 228 - "inputs": { 229 - "flake-utils": [ 230 - "nuscht-search", 231 - "flake-utils" 232 - ], 233 - "nixpkgs": [ 234 - "nuscht-search", 235 - "nixpkgs" 236 - ] 237 - }, 238 - "locked": { 239 - "lastModified": 1754860581, 240 - "narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=", 241 - "owner": "NuschtOS", 242 - "repo": "ixx", 243 - "rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281", 244 - "type": "github" 245 - }, 246 - "original": { 247 - "owner": "NuschtOS", 248 - "ref": "v0.1.1", 249 - "repo": "ixx", 250 - "type": "github" 251 - } 252 - }, 253 207 "izlix": { 254 208 "inputs": { 255 209 "nixpkgs": [ ··· 348 302 "url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" 349 303 } 350 304 }, 351 - "nuscht-search": { 352 - "inputs": { 353 - "flake-utils": [ 354 - "flake-utils" 355 - ], 356 - "ixx": "ixx", 357 - "nixpkgs": [ 358 - "nixpkgs" 359 - ] 360 - }, 361 - "locked": { 362 - "lastModified": 1761730856, 363 - "narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=", 364 - "owner": "nuschtos", 365 - "repo": "search", 366 - "rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b", 367 - "type": "github" 368 - }, 369 - "original": { 370 - "owner": "nuschtos", 371 - "repo": "search", 372 - "type": "github" 373 - } 374 - }, 375 305 "pre-commit": { 376 306 "inputs": { 377 307 "flake-compat": "flake-compat", ··· 401 331 "darwin": "darwin", 402 332 "easy-hosts": "easy-hosts", 403 333 "flake-parts": "flake-parts", 404 - "flake-utils": "flake-utils", 405 334 "home-manager": "home-manager", 406 335 "homebrew": "homebrew", 407 336 "izlix": "izlix", ··· 409 338 "lanzaboote": "lanzaboote", 410 339 "nixos-wsl": "nixos-wsl", 411 340 "nixpkgs": "nixpkgs", 412 - "nuscht-search": "nuscht-search", 413 341 "simple-nixos-mailserver": "simple-nixos-mailserver", 414 342 "sops": "sops", 415 - "systems": "systems", 416 343 "tgirlpkgs": "tgirlpkgs" 417 344 } 418 345 }, ··· 478 405 "owner": "Mic92", 479 406 "ref": "pull/779/merge", 480 407 "repo": "sops-nix", 481 - "type": "github" 482 - } 483 - }, 484 - "systems": { 485 - "locked": { 486 - "lastModified": 1681028828, 487 - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 488 - "owner": "nix-systems", 489 - "repo": "default", 490 - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 491 - "type": "github" 492 - }, 493 - "original": { 494 - "owner": "nix-systems", 495 - "repo": "default", 496 408 "type": "github" 497 409 } 498 410 },
-26
flake.nix
··· 130 130 repo = "nvim"; 131 131 inputs.nixpkgs.follows = "nixpkgs"; 132 132 }; 133 - 134 - nuscht-search = { 135 - type = "github"; 136 - owner = "nuschtos"; 137 - repo = "search"; 138 - 139 - inputs = { 140 - nixpkgs.follows = "nixpkgs"; 141 - flake-utils.follows = "flake-utils"; 142 - }; 143 - }; 144 - 145 - # transative deps 146 - systems = { 147 - type = "github"; 148 - owner = "nix-systems"; 149 - repo = "default"; 150 - }; 151 - 152 - # PLEASE PLEASE PLEASE DIE OFF ALREDAY 153 - flake-utils = { 154 - type = "github"; 155 - owner = "numtide"; 156 - repo = "flake-utils"; 157 - inputs.systems.follows = "systems"; 158 - }; 159 133 }; 160 134 }
+5 -1
modules/flake/args.nix
··· 1 1 { inputs, ... }: 2 2 { 3 3 # set the output systems for this flake 4 - systems = import inputs.systems; 4 + systems = [ 5 + "x86_64-linux" 6 + "aarch64-linux" 7 + "aarch64-darwin" 8 + ]; 5 9 6 10 perSystem = 7 11 { system, ... }:
-1
modules/flake/packages/default.nix
··· 20 20 iztaller = self.callPackage ./iztaller/package.nix { nix = inputs'.izlix.packages.lix; }; 21 21 22 22 libdoc = self.callPackage ./docs/lib.nix { }; 23 - optionsdoc = self.callPackage ./docs/options.nix { }; 24 23 docs = self.callPackage ./docs/package.nix { }; 25 24 # keep-sorted end 26 25 });
-205
modules/flake/packages/docs/options.nix
··· 1 - { 2 - lib, 3 - pkgs, 4 - 5 - inputs, 6 - self ? inputs.self, 7 - 8 - nixosOptionsDoc, 9 - }: 10 - let 11 - inherit (lib) 12 - evalModules 13 - filterAttrs 14 - ; 15 - 16 - inherit (pkgs.stdenv.hostPlatform) system; 17 - 18 - mkEval = 19 - module: 20 - evalModules { 21 - modules = [ 22 - module 23 - 24 - { 25 - _module = { 26 - check = false; 27 - args = { inherit pkgs; }; 28 - }; 29 - } 30 - ]; 31 - 32 - specialArgs = { 33 - inherit self inputs; 34 - }; 35 - }; 36 - 37 - mkDoc = 38 - options: 39 - let 40 - doc = nixosOptionsDoc { 41 - options = filterAttrs (n: _: n != "_module") options; 42 - documentType = "none"; 43 - }; 44 - in 45 - "${doc.optionsJSON}/share/doc/nixos/options.json"; 46 - 47 - nixosEval = mkEval { 48 - imports = [ (self + /modules/nixos) ]; 49 - config.mailserver.fqdn = "meow"; 50 - }; 51 - darwinEval = mkEval (self + /modules/darwin); 52 - hmEval = mkEval { 53 - imports = [ (self + /modules/home) ]; 54 - config._module.args = { 55 - osConfig = nixosEval.config; 56 - osClass = "nixos"; 57 - }; 58 - }; 59 - 60 - nixos = mkDoc nixosEval.options.garden; 61 - darwin = mkDoc darwinEval.options.garden; 62 - hm = mkDoc hmEval.options.garden; 63 - 64 - urlPrefix = "https://github.com/isabelroses/dotfiles/blob/main/"; 65 - in 66 - inputs.nuscht-search.packages.${system}.mkMultiSearch { 67 - title = "garden option search"; 68 - baseHref = "/search/"; 69 - 70 - scopes = [ 71 - # a horrid but working way to get only garden options 72 - { 73 - name = "garden nixos"; 74 - optionsJSON = nixos; 75 - inherit urlPrefix; 76 - } 77 - { 78 - name = "garden darwin"; 79 - optionsJSON = darwin; 80 - inherit urlPrefix; 81 - } 82 - { 83 - name = "garden home-manager"; 84 - optionsJSON = hm; 85 - inherit urlPrefix; 86 - } 87 - 88 - # rest of our options 89 - { 90 - name = "nixos modules"; 91 - optionsJSON = 92 - (import "${inputs.nixpkgs}/nixos/release.nix" { }).options + /share/doc/nixos/options.json; 93 - urlPrefix = "https://github.com/NixOS/nixpkgs/tree/master/"; 94 - } 95 - { 96 - name = "nix-darwin"; 97 - optionsJSON = inputs.darwin.packages.${system}.optionsJSON + /share/doc/darwin/options.json; 98 - urlPrefix = "https://github.com/LnL7/nix-darwin/tree/master/"; 99 - } 100 - { 101 - name = "home manager"; 102 - optionsJSON = 103 - inputs.home-manager.packages.${system}.docs-json + /share/doc/home-manager/options.json; 104 - urlPrefix = "https://github.com/nix-community/home-manager/tree/master/"; 105 - } 106 - { 107 - name = "nixos-wsl"; 108 - modules = [ 109 - inputs.nixos-wsl.nixosModules.default 110 - { _module.args = { inherit pkgs; }; } 111 - ]; 112 - urlPrefix = "https://github.com/nix-community/NixOS-WSL/blob/main/"; 113 - } 114 - { 115 - name = "sops-nix"; 116 - modules = [ inputs.sops.nixosModules.default ]; 117 - urlPrefix = "https://github.com/Mic92/sops-nix/blob/master/"; 118 - } 119 - { 120 - name = "lanzaboote"; 121 - modules = [ 122 - inputs.lanzaboote.nixosModules.lanzaboote 123 - { _module.args = { inherit pkgs; }; } 124 - ]; 125 - urlPrefix = "https://github.com/nix-community/lanzaboote/blob/master/"; 126 - } 127 - { 128 - name = "catppuccin nixos"; 129 - modules = [ 130 - inputs.catppuccin.nixosModules.catppuccin 131 - { _module.args = { inherit pkgs; }; } 132 - ]; 133 - urlPrefix = "https://github.com/catppuccin/nix/blob/main/"; 134 - } 135 - { 136 - name = "catppuccin home-manager"; 137 - modules = [ 138 - inputs.catppuccin.homeModules.catppuccin 139 - { _module.args = { inherit pkgs; }; } 140 - ]; 141 - urlPrefix = "https://github.com/catppuccin/nix/blob/main/"; 142 - } 143 - { 144 - name = "nix-homebrew"; 145 - modules = [ 146 - inputs.homebrew.darwinModules.nix-homebrew 147 - { _module.args = { inherit pkgs; }; } 148 - ]; 149 - urlPrefix = "https://github.com/zhaofengli/nix-homebrew/blob/main/"; 150 - } 151 - { 152 - name = "easy-hosts"; 153 - modules = [ inputs.easy-hosts.flakeModule ]; 154 - urlPrefix = "https://github.com/tgirlcloud/easy-hosts/blob/main/"; 155 - } 156 - { 157 - name = "tgirlpkgs nixos"; 158 - modules = [ 159 - inputs.tgirlpkgs.nixosModules.default 160 - { _module.args = { inherit pkgs; }; } 161 - ]; 162 - urlPrefix = "https://github.com/tgirlcloud/pkgs/blob/main/"; 163 - } 164 - { 165 - name = "tgirlpkgs darwin"; 166 - modules = [ 167 - inputs.tgirlpkgs.darwinModules.default 168 - { _module.args = { inherit pkgs; }; } 169 - ]; 170 - urlPrefix = "https://github.com/tgirlcloud/pkgs/blob/main/"; 171 - } 172 - { 173 - name = "tgirlpkgs home-manager"; 174 - modules = [ 175 - inputs.tgirlpkgs.homeModules.default 176 - { _module.args = { inherit pkgs; }; } 177 - ]; 178 - urlPrefix = "https://github.com/tgirlcloud/pkgs/blob/main/"; 179 - } 180 - { 181 - name = "izvim"; 182 - modules = [ 183 - inputs.izvim.homeModules.default 184 - { _module.args = { inherit pkgs; }; } 185 - ]; 186 - urlPrefix = "https://github.com/isabelroses/nvim/blob/main/"; 187 - } 188 - { 189 - name = "simple-nixos-mailserver"; 190 - modules = [ 191 - inputs.simple-nixos-mailserver.nixosModules.default 192 - # https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/blob/master/flake.nix#L92-96 193 - { 194 - mailserver = { 195 - fqdn = "mx.example.com"; 196 - domains = [ 197 - "example.com" 198 - ]; 199 - }; 200 - } 201 - ]; 202 - urlPrefix = "https://gitlab.com/simple-nixos-mailserver/nixos-mailserver/-/blob/master/"; 203 - } 204 - ]; 205 - }
-2
modules/flake/packages/docs/package.nix
··· 7 7 writeShellApplication, 8 8 9 9 libdoc, 10 - optionsdoc, 11 10 12 11 inputs, 13 12 self ? inputs.self, ··· 29 28 cp ${finalAttrs.passthru.catppuccin-mdbook} theme/catppuccin.css 30 29 cp ${finalAttrs.passthru.catppuccin-alerts} theme/catppuccin-alerts.css 31 30 32 - cp -r ${optionsdoc} src/search 33 31 cp -r ${libdoc} src/lib 34 32 35 33 substituteInPlace src/SUMMARY.md \