Personal Nix flake
nixos home-manager nix
1
fork

Configure Feed

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

chore: Remove assets/{filestructure,outputs}, nixpkgs-schema input

+20 -663
+3 -244
README.md
··· 82 82 ## File structure 83 83 84 84 I'm hoping the file structure under `/nix` is mostly self-explanatory. That said, there are a couple that bear explaining: 85 - - `modules` for flake modules consumed by [flake-parts] 86 - - `schemas` for my custom [flake-schemas] definitions 87 - - `shared` for configuration and modules useful to both and NixOS and Home Manager 88 - 89 - <details> 90 - <summary>Tree view of the directory structure</summary> 91 - 92 - ```sh 93 - ./nix 94 - ├── apps 95 - │ ├── assets.nix 96 - │ ├── ci.nix 97 - │ └── default.nix 98 - ├── checks 99 - │ ├── default.nix 100 - │ └── homeConfigurations.nix 101 - ├── flakeModules 102 - │ ├── agenixRekey.nix 103 - │ ├── default.nix 104 - │ ├── ezConfigs.nix 105 - │ ├── gitHooks.nix 106 - │ └── just.nix 107 - ├── home 108 - │ ├── configs 109 - │ ├── modules 110 - │ └── profiles 111 - ├── legacyPackages 112 - │ ├── ciMatrix.nix 113 - │ ├── default.nix 114 - │ └── scripts 115 - ├── lib 116 - │ ├── config.nix 117 - │ ├── default.nix 118 - │ ├── secrets.nix 119 - │ ├── storage 120 - │ └── strings.nix 121 - ├── nixos 122 - │ ├── configs 123 - │ ├── modules 124 - │ └── profiles 125 - ├── overlays 126 - │ ├── default.nix 127 - │ ├── external.nix 128 - │ ├── lix.nix 129 - │ ├── nixpkgsVersions.nix 130 - │ ├── nuInterpreterStdin.nix 131 - │ ├── packages.nix 132 - │ └── python.nix 133 - ├── packages 134 - │ ├── default.nix 135 - │ └── lichen 136 - ├── schemas 137 - │ ├── agenixRekey.nix 138 - │ ├── default.nix 139 - │ ├── lib.nix 140 - │ └── systems.nix 141 - ├── shared 142 - │ ├── default.nix 143 - │ ├── flatpak.nix 144 - │ ├── nix.nix 145 - │ ├── secrets.nix 146 - │ └── theming.nix 147 - └── shells 148 - ├── default.nix 149 - ├── deploy.nix 150 - ├── maintenance.nix 151 - ├── minimal.nix 152 - ├── nix.nix 153 - └── rust.nix 154 - ``` 155 - </details> 156 - 157 - ## Outputs 158 - 159 - If you're curious, this is what the flake actually outputs right now. 160 - Courtesy of [flake-schemas]' patches with my own lib/pkgs schemas on top. 161 - 162 - <details> 163 - <summary>Output of `nix flake show`</summary> 164 - 165 - ```sh 166 - git+file:///home/lpchaim/.config/nixos 167 - ├───agenix-rekey 168 - │ ├───aarch64-linux 169 - │ │ ├───edit-view: agenix-rekey executable 170 - │ │ ├───generate: agenix-rekey executable 171 - │ │ ├───rekey: agenix-rekey executable 172 - │ │ └───update-masterkeys: agenix-rekey executable 173 - │ └───x86_64-linux 174 - │ ├───edit-view: agenix-rekey executable 175 - │ ├───generate: agenix-rekey executable 176 - │ ├───rekey: agenix-rekey executable 177 - │ └───update-masterkeys: agenix-rekey executable 178 - ├───apps 179 - │ ├───aarch64-linux 180 - │ │ ├───generate-assets: app 181 - │ │ ├───generate-ci-matrix: app 182 - │ │ └───render-readme: app 183 - │ └───x86_64-linux 184 - │ ├───generate-assets: app 185 - │ ├───generate-ci-matrix: app 186 - │ └───render-readme: app 187 - ├───checks 188 - │ ├───aarch64-linux 189 - │ │ ├───deploy-shell: CI test [nix-shell] 190 - │ │ ├───maintenance-shell: CI test [nix-shell] 191 - │ │ ├───minimal-shell: CI test [nix-shell] 192 - │ │ ├───nix-shell: CI test [nix-shell] 193 - │ │ ├───pre-commit: CI test [pre-commit-run] 194 - │ │ └───rust-shell: CI test [nix-shell] 195 - │ └───x86_64-linux 196 - │ ├───deploy-shell: CI test [nix-shell] 197 - │ ├───"homeConfigurations.cheina@pc082": CI test [home-manager-generation] 198 - │ ├───maintenance-shell: CI test [nix-shell] 199 - │ ├───minimal-shell: CI test [nix-shell] 200 - │ ├───nix-shell: CI test [nix-shell] 201 - │ ├───pre-commit: CI test [pre-commit-run] 202 - │ └───rust-shell: CI test [nix-shell] 203 - ├───darwinConfigurations 204 - ├───darwinModules 205 - ├───devShells 206 - │ ├───aarch64-linux 207 - │ │ ├───default: development environment [maintenance-shell] 208 - │ │ ├───deploy: development environment [deploy-shell] 209 - │ │ ├───maintenance: development environment [maintenance-shell] 210 - │ │ ├───minimal: development environment [minimal-shell] 211 - │ │ ├───nix: development environment [nix-shell] 212 - │ │ └───rust: development environment [rust-shell] 213 - │ └───x86_64-linux 214 - │ ├───default: development environment [maintenance-shell] 215 - │ ├───deploy: development environment [deploy-shell] 216 - │ ├───maintenance: development environment [maintenance-shell] 217 - │ ├───minimal: development environment [minimal-shell] 218 - │ ├───nix: development environment [nix-shell] 219 - │ └───rust: development environment [rust-shell] 220 - ├───formatter 221 - │ ├───aarch64-linux: formatter [alejandra-4.0.0] 222 - │ └───x86_64-linux: formatter [alejandra-4.0.0] 223 - ├───homeConfigurations 224 - │ ├───"cheina@pc082": Home Manager configuration [home-manager-generation] 225 - │ ├───"lpchaim@desktop": Home Manager configuration [home-manager-generation] 226 - │ ├───"lpchaim@laptop": Home Manager configuration [home-manager-generation] 227 - │ ├───"lpchaim@raspberrypi": Home Manager configuration [home-manager-generation] 228 - │ └───"lpchaim@steamdeck": Home Manager configuration [home-manager-generation] 229 - ├───homeModules 230 - │ ├───bars: Home Manager module 231 - │ ├───ci: Home Manager module 232 - │ ├───cli: Home Manager module 233 - │ ├───de: Home Manager module 234 - │ ├───default: Home Manager module 235 - │ ├───development: Home Manager module 236 - │ ├───gui: Home Manager module 237 - │ ├───misc: Home Manager module 238 - │ ├───nix: Home Manager module 239 - │ ├───scripts: Home Manager module 240 - │ ├───secrets: Home Manager module 241 - │ ├───security: Home Manager module 242 - │ ├───ssh: Home Manager module 243 - │ ├───syncthing: Home Manager module 244 - │ ├───theming: Home Manager module 245 - │ └───wayland: Home Manager module 246 - ├───legacyPackages 247 - │ └───(skipped; use '--legacy' to show) 248 - ├───lib 249 - │ ├───carapaceSpecFromNuScript: library function 250 - │ ├───config: library namespace 251 - │ ├───isNvidia: library function 252 - │ ├───mkPkgs: library function 253 - │ ├───nixFilesToAttrs: library function 254 - │ ├───secrets: library namespace 255 - │ ├───storage: library namespace 256 - │ └───strings: library namespace 257 - ├───nixosConfigurations 258 - │ ├───desktop: NixOS configuration [nixos-system-desktop-26.05.20260211.ec7c70d] 259 - │ ├───laptop: NixOS configuration [nixos-system-laptop-26.05.20260211.ec7c70d] 260 - │ ├───raspberrypi: NixOS configuration [nixos-system-raspberrypi-26.05.20260211.ec7c70d] 261 - │ └───steamdeck: NixOS configuration [nixos-system-steamdeck-26.05.20260211.ec7c70d] 262 - ├───nixosModules 263 - │ ├───boot: NixOS module 264 - │ ├───ci: NixOS module 265 - │ ├───default: NixOS module 266 - │ ├───desktop: NixOS module 267 - │ ├───gaming: NixOS module 268 - │ ├───gui: NixOS module 269 - │ ├───hardware: NixOS module 270 - │ ├───kdeconnect: NixOS module 271 - │ ├───kernel: NixOS module 272 - │ ├───locale: NixOS module 273 - │ ├───networking: NixOS module 274 - │ ├───nix: NixOS module 275 - │ ├───pipewire: NixOS module 276 - │ ├───programs: NixOS module 277 - │ ├───secrets: NixOS module 278 - │ ├───secureboot: NixOS module 279 - │ ├───security: NixOS module 280 - │ ├───services: NixOS module 281 - │ ├───ssh: NixOS module 282 - │ ├───steamos: NixOS module 283 - │ ├───syncthing: NixOS module 284 - │ ├───tailscale: NixOS module 285 - │ ├───theming: NixOS module 286 - │ ├───users: NixOS module 287 - │ ├───virtualization: NixOS module 288 - │ ├───wayland: NixOS module 289 - │ └───zram: NixOS module 290 - ├───overlays 291 - │ ├───external: Nixpkgs overlay 292 - │ ├───lix: Nixpkgs overlay 293 - │ ├───nixpkgsVersions: Nixpkgs overlay 294 - │ ├───nuInterpreterStdin: Nixpkgs overlay 295 - │ ├───packages: Nixpkgs overlay 296 - │ └───python: Nixpkgs overlay 297 - ├───packages 298 - │ ├───aarch64-linux 299 - │ │ └───lichen: package [lichen-0.22.0-unstable] 300 - │ └───x86_64-linux 301 - │ └───lichen: package [lichen-0.22.0-unstable] 302 - ├───schemas 303 - │ ├───agenix-rekey: flake schema 304 - │ ├───apps: flake schema 305 - │ ├───bundlers: flake schema 306 - │ ├───checks: flake schema 307 - │ ├───darwinConfigurations: flake schema 308 - │ ├───darwinModules: flake schema 309 - │ ├───devShells: flake schema 310 - │ ├───dockerImages: flake schema 311 - │ ├───formatter: flake schema 312 - │ ├───homeConfigurations: flake schema 313 - │ ├───homeModules: flake schema 314 - │ ├───hydraJobs: flake schema 315 - │ ├───legacyPackages: flake schema 316 - │ ├───lib: flake schema 317 - │ ├───nixosConfigurations: flake schema 318 - │ ├───nixosModules: flake schema 319 - │ ├───overlays: flake schema 320 - │ ├───packages: flake schema 321 - │ ├───schemas: flake schema 322 - │ ├───systems: flake schema 323 - │ └───templates: flake schema 324 - └───systems 325 - ├───aarch64-linux: supported system 326 - └───x86_64-linux: supported system 327 - ``` 328 - </details> 85 + - `nix/flakeModules` for flake modules consumed by [flake-parts] 86 + - `nix/schemas` for my custom [flake-schemas] definitions 87 + - `nix/shared` for configuration and modules useful to both and NixOS and Home Manager
+3 -24
assets/README.md
··· 54 54 ## File structure 55 55 56 56 I'm hoping the file structure under `/nix` is mostly self-explanatory. That said, there are a couple that bear explaining: 57 - - `modules` for flake modules consumed by [flake-parts] 58 - - `schemas` for my custom [flake-schemas] definitions 59 - - `shared` for configuration and modules useful to both and NixOS and Home Manager 60 - 61 - <details> 62 - <summary>Tree view of the directory structure</summary> 63 - 64 - ```sh 65 - $filestructure 66 - ``` 67 - </details> 68 - 69 - ## Outputs 70 - 71 - If you're curious, this is what the flake actually outputs right now. 72 - Courtesy of [flake-schemas]' patches with my own lib/pkgs schemas on top. 73 - 74 - <details> 75 - <summary>Output of `nix flake show`</summary> 76 - 77 - ```sh 78 - $outputs 79 - ``` 80 - </details> 57 + - `nix/flakeModules` for flake modules consumed by [flake-parts] 58 + - `nix/schemas` for my custom [flake-schemas] definitions 59 + - `nix/shared` for configuration and modules useful to both and NixOS and Home Manager
-61
assets/readme/filestructure.txt
··· 1 - ./nix 2 - ├── apps 3 - │ ├── assets.nix 4 - │ ├── ci.nix 5 - │ └── default.nix 6 - ├── checks 7 - │ ├── default.nix 8 - │ └── homeConfigurations.nix 9 - ├── flakeModules 10 - │ ├── agenixRekey.nix 11 - │ ├── default.nix 12 - │ ├── ezConfigs.nix 13 - │ ├── gitHooks.nix 14 - │ └── just.nix 15 - ├── home 16 - │ ├── configs 17 - │ ├── modules 18 - │ └── profiles 19 - ├── legacyPackages 20 - │ ├── ciMatrix.nix 21 - │ ├── default.nix 22 - │ └── scripts 23 - ├── lib 24 - │ ├── config.nix 25 - │ ├── default.nix 26 - │ ├── secrets.nix 27 - │ ├── storage 28 - │ └── strings.nix 29 - ├── nixos 30 - │ ├── configs 31 - │ ├── modules 32 - │ └── profiles 33 - ├── overlays 34 - │ ├── default.nix 35 - │ ├── external.nix 36 - │ ├── lix.nix 37 - │ ├── nixpkgsVersions.nix 38 - │ ├── nuInterpreterStdin.nix 39 - │ ├── packages.nix 40 - │ └── python.nix 41 - ├── packages 42 - │ ├── default.nix 43 - │ └── lichen 44 - ├── schemas 45 - │ ├── agenixRekey.nix 46 - │ ├── default.nix 47 - │ ├── lib.nix 48 - │ └── systems.nix 49 - ├── shared 50 - │ ├── default.nix 51 - │ ├── flatpak.nix 52 - │ ├── nix.nix 53 - │ ├── secrets.nix 54 - │ └── theming.nix 55 - └── shells 56 - ├── default.nix 57 - ├── deploy.nix 58 - ├── maintenance.nix 59 - ├── minimal.nix 60 - ├── nix.nix 61 - └── rust.nix
-161
assets/readme/outputs.txt
··· 1 - git+file:///home/lpchaim/.config/nixos 2 - ├───agenix-rekey 3 - │ ├───aarch64-linux 4 - │ │ ├───edit-view: agenix-rekey executable 5 - │ │ ├───generate: agenix-rekey executable 6 - │ │ ├───rekey: agenix-rekey executable 7 - │ │ └───update-masterkeys: agenix-rekey executable 8 - │ └───x86_64-linux 9 - │ ├───edit-view: agenix-rekey executable 10 - │ ├───generate: agenix-rekey executable 11 - │ ├───rekey: agenix-rekey executable 12 - │ └───update-masterkeys: agenix-rekey executable 13 - ├───apps 14 - │ ├───aarch64-linux 15 - │ │ ├───generate-assets: app 16 - │ │ ├───generate-ci-matrix: app 17 - │ │ └───render-readme: app 18 - │ └───x86_64-linux 19 - │ ├───generate-assets: app 20 - │ ├───generate-ci-matrix: app 21 - │ └───render-readme: app 22 - ├───checks 23 - │ ├───aarch64-linux 24 - │ │ ├───deploy-shell: CI test [nix-shell] 25 - │ │ ├───maintenance-shell: CI test [nix-shell] 26 - │ │ ├───minimal-shell: CI test [nix-shell] 27 - │ │ ├───nix-shell: CI test [nix-shell] 28 - │ │ ├───pre-commit: CI test [pre-commit-run] 29 - │ │ └───rust-shell: CI test [nix-shell] 30 - │ └───x86_64-linux 31 - │ ├───deploy-shell: CI test [nix-shell] 32 - │ ├───"homeConfigurations.cheina@pc082": CI test [home-manager-generation] 33 - │ ├───maintenance-shell: CI test [nix-shell] 34 - │ ├───minimal-shell: CI test [nix-shell] 35 - │ ├───nix-shell: CI test [nix-shell] 36 - │ ├───pre-commit: CI test [pre-commit-run] 37 - │ └───rust-shell: CI test [nix-shell] 38 - ├───darwinConfigurations 39 - ├───darwinModules 40 - ├───devShells 41 - │ ├───aarch64-linux 42 - │ │ ├───default: development environment [maintenance-shell] 43 - │ │ ├───deploy: development environment [deploy-shell] 44 - │ │ ├───maintenance: development environment [maintenance-shell] 45 - │ │ ├───minimal: development environment [minimal-shell] 46 - │ │ ├───nix: development environment [nix-shell] 47 - │ │ └───rust: development environment [rust-shell] 48 - │ └───x86_64-linux 49 - │ ├───default: development environment [maintenance-shell] 50 - │ ├───deploy: development environment [deploy-shell] 51 - │ ├───maintenance: development environment [maintenance-shell] 52 - │ ├───minimal: development environment [minimal-shell] 53 - │ ├───nix: development environment [nix-shell] 54 - │ └───rust: development environment [rust-shell] 55 - ├───formatter 56 - │ ├───aarch64-linux: formatter [alejandra-4.0.0] 57 - │ └───x86_64-linux: formatter [alejandra-4.0.0] 58 - ├───homeConfigurations 59 - │ ├───"cheina@pc082": Home Manager configuration [home-manager-generation] 60 - │ ├───"lpchaim@desktop": Home Manager configuration [home-manager-generation] 61 - │ ├───"lpchaim@laptop": Home Manager configuration [home-manager-generation] 62 - │ ├───"lpchaim@raspberrypi": Home Manager configuration [home-manager-generation] 63 - │ └───"lpchaim@steamdeck": Home Manager configuration [home-manager-generation] 64 - ├───homeModules 65 - │ ├───bars: Home Manager module 66 - │ ├───ci: Home Manager module 67 - │ ├───cli: Home Manager module 68 - │ ├───de: Home Manager module 69 - │ ├───default: Home Manager module 70 - │ ├───development: Home Manager module 71 - │ ├───gui: Home Manager module 72 - │ ├───misc: Home Manager module 73 - │ ├───nix: Home Manager module 74 - │ ├───scripts: Home Manager module 75 - │ ├───secrets: Home Manager module 76 - │ ├───security: Home Manager module 77 - │ ├───ssh: Home Manager module 78 - │ ├───syncthing: Home Manager module 79 - │ ├───theming: Home Manager module 80 - │ └───wayland: Home Manager module 81 - ├───legacyPackages 82 - │ └───(skipped; use '--legacy' to show) 83 - ├───lib 84 - │ ├───carapaceSpecFromNuScript: library function 85 - │ ├───config: library namespace 86 - │ ├───isNvidia: library function 87 - │ ├───mkPkgs: library function 88 - │ ├───nixFilesToAttrs: library function 89 - │ ├───secrets: library namespace 90 - │ ├───storage: library namespace 91 - │ └───strings: library namespace 92 - ├───nixosConfigurations 93 - │ ├───desktop: NixOS configuration [nixos-system-desktop-26.05.20260211.ec7c70d] 94 - │ ├───laptop: NixOS configuration [nixos-system-laptop-26.05.20260211.ec7c70d] 95 - │ ├───raspberrypi: NixOS configuration [nixos-system-raspberrypi-26.05.20260211.ec7c70d] 96 - │ └───steamdeck: NixOS configuration [nixos-system-steamdeck-26.05.20260211.ec7c70d] 97 - ├───nixosModules 98 - │ ├───boot: NixOS module 99 - │ ├───ci: NixOS module 100 - │ ├───default: NixOS module 101 - │ ├───desktop: NixOS module 102 - │ ├───gaming: NixOS module 103 - │ ├───gui: NixOS module 104 - │ ├───hardware: NixOS module 105 - │ ├───kdeconnect: NixOS module 106 - │ ├───kernel: NixOS module 107 - │ ├───locale: NixOS module 108 - │ ├───networking: NixOS module 109 - │ ├───nix: NixOS module 110 - │ ├───pipewire: NixOS module 111 - │ ├───programs: NixOS module 112 - │ ├───secrets: NixOS module 113 - │ ├───secureboot: NixOS module 114 - │ ├───security: NixOS module 115 - │ ├───services: NixOS module 116 - │ ├───ssh: NixOS module 117 - │ ├───steamos: NixOS module 118 - │ ├───syncthing: NixOS module 119 - │ ├───tailscale: NixOS module 120 - │ ├───theming: NixOS module 121 - │ ├───users: NixOS module 122 - │ ├───virtualization: NixOS module 123 - │ ├───wayland: NixOS module 124 - │ └───zram: NixOS module 125 - ├───overlays 126 - │ ├───external: Nixpkgs overlay 127 - │ ├───lix: Nixpkgs overlay 128 - │ ├───nixpkgsVersions: Nixpkgs overlay 129 - │ ├───nuInterpreterStdin: Nixpkgs overlay 130 - │ ├───packages: Nixpkgs overlay 131 - │ └───python: Nixpkgs overlay 132 - ├───packages 133 - │ ├───aarch64-linux 134 - │ │ └───lichen: package [lichen-0.22.0-unstable] 135 - │ └───x86_64-linux 136 - │ └───lichen: package [lichen-0.22.0-unstable] 137 - ├───schemas 138 - │ ├───agenix-rekey: flake schema 139 - │ ├───apps: flake schema 140 - │ ├───bundlers: flake schema 141 - │ ├───checks: flake schema 142 - │ ├───darwinConfigurations: flake schema 143 - │ ├───darwinModules: flake schema 144 - │ ├───devShells: flake schema 145 - │ ├───dockerImages: flake schema 146 - │ ├───formatter: flake schema 147 - │ ├───homeConfigurations: flake schema 148 - │ ├───homeModules: flake schema 149 - │ ├───hydraJobs: flake schema 150 - │ ├───legacyPackages: flake schema 151 - │ ├───lib: flake schema 152 - │ ├───nixosConfigurations: flake schema 153 - │ ├───nixosModules: flake schema 154 - │ ├───overlays: flake schema 155 - │ ├───packages: flake schema 156 - │ ├───schemas: flake schema 157 - │ ├───systems: flake schema 158 - │ └───templates: flake schema 159 - └───systems 160 - ├───aarch64-linux: supported system 161 - └───x86_64-linux: supported system
+7 -134
flake.lock
··· 404 404 "type": "github" 405 405 } 406 406 }, 407 - "flake-compat_6": { 408 - "flake": false, 409 - "locked": { 410 - "lastModified": 1733328505, 411 - "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", 412 - "owner": "edolstra", 413 - "repo": "flake-compat", 414 - "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", 415 - "type": "github" 416 - }, 417 - "original": { 418 - "owner": "edolstra", 419 - "repo": "flake-compat", 420 - "type": "github" 421 - } 422 - }, 423 407 "flake-parts": { 424 408 "inputs": { 425 409 "nixpkgs-lib": [ ··· 480 464 "flake-parts_4": { 481 465 "inputs": { 482 466 "nixpkgs-lib": [ 483 - "nixpkgs-schemas", 484 - "nixpkgs" 485 - ] 486 - }, 487 - "locked": { 488 - "lastModified": 1733312601, 489 - "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", 490 - "owner": "hercules-ci", 491 - "repo": "flake-parts", 492 - "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", 493 - "type": "github" 494 - }, 495 - "original": { 496 - "owner": "hercules-ci", 497 - "repo": "flake-parts", 498 - "type": "github" 499 - } 500 - }, 501 - "flake-parts_5": { 502 - "inputs": { 503 - "nixpkgs-lib": [ 504 467 "nixvim", 505 468 "nixpkgs" 506 469 ] ··· 519 482 "type": "github" 520 483 } 521 484 }, 522 - "flake-parts_6": { 485 + "flake-parts_5": { 523 486 "inputs": { 524 487 "nixpkgs-lib": [ 525 488 "nur", ··· 540 503 "type": "github" 541 504 } 542 505 }, 543 - "flake-parts_7": { 506 + "flake-parts_6": { 544 507 "inputs": { 545 508 "nixpkgs-lib": [ 546 509 "stylix", ··· 561 524 "type": "github" 562 525 } 563 526 }, 564 - "flake-parts_8": { 527 + "flake-parts_7": { 565 528 "inputs": { 566 529 "nixpkgs-lib": [ 567 530 "wayland-pipewire-idle-inhibit", ··· 666 629 "type": "github" 667 630 } 668 631 }, 669 - "git-hooks-nix_2": { 670 - "inputs": { 671 - "flake-compat": [ 672 - "nixpkgs-schemas" 673 - ], 674 - "gitignore": [ 675 - "nixpkgs-schemas" 676 - ], 677 - "nixpkgs": [ 678 - "nixpkgs-schemas", 679 - "nixpkgs" 680 - ], 681 - "nixpkgs-stable": [ 682 - "nixpkgs-schemas", 683 - "nixpkgs" 684 - ] 685 - }, 686 - "locked": { 687 - "lastModified": 1734279981, 688 - "narHash": "sha256-NdaCraHPp8iYMWzdXAt5Nv6sA3MUzlCiGiR586TCwo0=", 689 - "owner": "cachix", 690 - "repo": "git-hooks.nix", 691 - "rev": "aa9f40c906904ebd83da78e7f328cd8aeaeae785", 692 - "type": "github" 693 - }, 694 - "original": { 695 - "owner": "cachix", 696 - "repo": "git-hooks.nix", 697 - "type": "github" 698 - } 699 - }, 700 632 "gitignore": { 701 633 "inputs": { 702 634 "nixpkgs": [ ··· 1057 989 "type": "github" 1058 990 } 1059 991 }, 1060 - "nixpkgs-23-11": { 1061 - "locked": { 1062 - "lastModified": 1717159533, 1063 - "narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=", 1064 - "owner": "NixOS", 1065 - "repo": "nixpkgs", 1066 - "rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446", 1067 - "type": "github" 1068 - }, 1069 - "original": { 1070 - "owner": "NixOS", 1071 - "repo": "nixpkgs", 1072 - "rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446", 1073 - "type": "github" 1074 - } 1075 - }, 1076 992 "nixpkgs-hare": { 1077 993 "locked": { 1078 994 "lastModified": 1771360917, ··· 1119 1035 "type": "github" 1120 1036 } 1121 1037 }, 1122 - "nixpkgs-regression": { 1123 - "locked": { 1124 - "lastModified": 1643052045, 1125 - "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", 1126 - "owner": "NixOS", 1127 - "repo": "nixpkgs", 1128 - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", 1129 - "type": "github" 1130 - }, 1131 - "original": { 1132 - "owner": "NixOS", 1133 - "repo": "nixpkgs", 1134 - "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", 1135 - "type": "github" 1136 - } 1137 - }, 1138 - "nixpkgs-schemas": { 1139 - "inputs": { 1140 - "flake-compat": "flake-compat_6", 1141 - "flake-parts": "flake-parts_4", 1142 - "git-hooks-nix": "git-hooks-nix_2", 1143 - "nixpkgs": [ 1144 - "nixpkgs" 1145 - ], 1146 - "nixpkgs-23-11": "nixpkgs-23-11", 1147 - "nixpkgs-regression": "nixpkgs-regression" 1148 - }, 1149 - "locked": { 1150 - "lastModified": 1741125032, 1151 - "narHash": "sha256-Yy1Cd3Xm4UJTctYsVQfD5jY5z7pVncvLu8cq0cjjYT4=", 1152 - "owner": "DeterminateSystems", 1153 - "repo": "nix-src", 1154 - "rev": "271926aa5997c3120c8ef0962ce1c7f29fee1a05", 1155 - "type": "github" 1156 - }, 1157 - "original": { 1158 - "owner": "DeterminateSystems", 1159 - "ref": "flake-schemas", 1160 - "repo": "nix-src", 1161 - "type": "github" 1162 - } 1163 - }, 1164 1038 "nixpkgs_2": { 1165 1039 "locked": { 1166 1040 "lastModified": 1771207753, ··· 1179 1053 }, 1180 1054 "nixvim": { 1181 1055 "inputs": { 1182 - "flake-parts": "flake-parts_5", 1056 + "flake-parts": "flake-parts_4", 1183 1057 "nixpkgs": [ 1184 1058 "nixpkgs" 1185 1059 ], ··· 1201 1075 }, 1202 1076 "nur": { 1203 1077 "inputs": { 1204 - "flake-parts": "flake-parts_6", 1078 + "flake-parts": "flake-parts_5", 1205 1079 "nixpkgs": [ 1206 1080 "nixpkgs" 1207 1081 ] ··· 1385 1259 "unstable" 1386 1260 ], 1387 1261 "nixpkgs-hare": "nixpkgs-hare", 1388 - "nixpkgs-schemas": "nixpkgs-schemas", 1389 1262 "nixvim": "nixvim", 1390 1263 "nur": "nur", 1391 1264 "spicetify-nix": "spicetify-nix", ··· 1476 1349 "base16-helix": "base16-helix", 1477 1350 "base16-vim": "base16-vim", 1478 1351 "firefox-gnome-theme": "firefox-gnome-theme", 1479 - "flake-parts": "flake-parts_7", 1352 + "flake-parts": "flake-parts_6", 1480 1353 "gnome-shell": "gnome-shell", 1481 1354 "nixpkgs": [ 1482 1355 "nixpkgs" ··· 1734 1607 }, 1735 1608 "wayland-pipewire-idle-inhibit": { 1736 1609 "inputs": { 1737 - "flake-parts": "flake-parts_8", 1610 + "flake-parts": "flake-parts_7", 1738 1611 "nixpkgs": [ 1739 1612 "nixpkgs" 1740 1613 ],
-4
flake.nix
··· 49 49 stable.url = "github:NixOS/nixpkgs/nixos-25.11"; 50 50 unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; 51 51 nixpkgs-hare.url = "github:lpchaim/nixpkgs/update-hare"; 52 - nixpkgs-schemas = { 53 - url = "github:DeterminateSystems/nix-src/flake-schemas"; 54 - inputs.nixpkgs.follows = "nixpkgs"; 55 - }; 56 52 57 53 # Hyprland 58 54 dms = {
+7 -35
nix/apps/assets.nix
··· 1 1 {inputs, ...}: let 2 2 inherit (inputs) self; 3 3 in { 4 - perSystem = { 5 - inputs', 6 - lib, 7 - pkgs, 8 - ... 9 - }: { 10 - apps = let 11 - inherit (inputs'.nixpkgs-schemas.packages) nix; 12 - assetsRoot = "./assets/readme"; 13 - in { 14 - generate-assets = { 15 - meta.description = "Creates README.md assets"; 16 - program = pkgs.writeShellScriptBin "generate-assets" '' 17 - set -e 18 - 19 - ${lib.getExe pkgs.eza} --tree --level 2 ./nix \ 20 - | tee /dev/tty \ 21 - > '${assetsRoot}/filestructure.txt' 22 - 23 - ${lib.getExe nix} flake show --all-systems . \ 24 - --experimental-features 'flakes nix-command pipe-operators' \ 25 - | ${lib.getExe pkgs.ansifilter} \ 26 - | tee /dev/tty \ 27 - > '${assetsRoot}/outputs.txt' 28 - ''; 29 - }; 30 - render-readme = { 31 - meta.description = "Renders README.md"; 32 - program = pkgs.writeShellScriptBin "render-readme" '' 33 - export filestructure=$(cat '${assetsRoot}/filestructure.txt') 34 - export outputs=$(cat '${assetsRoot}/outputs.txt') 35 - export sampleconfig=$(cat '${self}/nix/nixos/configs/desktop/default.nix') 36 - envsubst < ./assets/README.md > ./README.md 37 - ''; 38 - }; 4 + perSystem = {pkgs, ...}: { 5 + apps.render-readme = { 6 + meta.description = "Renders README.md"; 7 + program = pkgs.writeShellScriptBin "render-readme" '' 8 + export sampleconfig=$(cat '${self}/nix/nixos/configs/desktop/default.nix') 9 + envsubst < ./assets/README.md > ./README.md 10 + ''; 39 11 }; 40 12 }; 41 13 }