Kieran's opinionated (and probably slightly dumb) nix config

feat: mvc hyprnix

+87 -82
+81 -81
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "Hyprnix": { 4 + "inputs": { 5 + "bird-nix-lib": "bird-nix-lib", 6 + "hyprland": "hyprland", 7 + "hyprland-protocols": "hyprland-protocols_2", 8 + "hyprland-xdph": "hyprland-xdph", 9 + "hyprlang": "hyprlang_3", 10 + "nixpkgs": "nixpkgs_2", 11 + "systems": "systems_3" 12 + }, 13 + "locked": { 14 + "lastModified": 1718089837, 15 + "narHash": "sha256-E4Q+ruDcE1S+CrHLwdpB32NvcITKOJWrg9LhMs+/Of0=", 16 + "owner": "hyprland-community", 17 + "repo": "hyprnix", 18 + "rev": "cfb8fb276e605699589c578e27f0ddd8dbba102b", 19 + "type": "github" 20 + }, 21 + "original": { 22 + "owner": "hyprland-community", 23 + "repo": "hyprnix", 24 + "type": "github" 25 + } 26 + }, 3 27 "agenix": { 4 28 "inputs": { 5 29 "darwin": "darwin", 6 30 "home-manager": "home-manager", 7 - "nixpkgs": "nixpkgs", 8 - "systems": "systems" 31 + "nixpkgs": "nixpkgs_3", 32 + "systems": "systems_4" 9 33 }, 10 34 "locked": { 11 35 "lastModified": 1720546205, ··· 23 47 }, 24 48 "bird-nix-lib": { 25 49 "inputs": { 26 - "nixpkgs": "nixpkgs_3", 27 - "systems": "systems_2" 50 + "nixpkgs": "nixpkgs", 51 + "systems": "systems" 28 52 }, 29 53 "locked": { 30 54 "lastModified": 1718015582, ··· 176 200 "hyprland-protocols": "hyprland-protocols", 177 201 "hyprlang": "hyprlang", 178 202 "nixpkgs": [ 179 - "hyprland-nix", 203 + "Hyprnix", 180 204 "nixpkgs" 181 205 ], 182 206 "systems": [ 183 - "hyprland-nix", 207 + "Hyprnix", 184 208 "systems" 185 209 ], 186 210 "wlroots": "wlroots", ··· 202 226 }, 203 227 "hyprland-contrib": { 204 228 "inputs": { 205 - "nixpkgs": "nixpkgs_2" 229 + "nixpkgs": "nixpkgs_4" 206 230 }, 207 231 "locked": { 208 232 "lastModified": 1720709712, ··· 218 242 "type": "github" 219 243 } 220 244 }, 221 - "hyprland-nix": { 222 - "inputs": { 223 - "bird-nix-lib": "bird-nix-lib", 224 - "hyprland": "hyprland", 225 - "hyprland-protocols": "hyprland-protocols_2", 226 - "hyprland-xdph": "hyprland-xdph", 227 - "hyprlang": "hyprlang_3", 228 - "nixpkgs": "nixpkgs_4", 229 - "systems": "systems_4" 230 - }, 231 - "locked": { 232 - "lastModified": 1718089837, 233 - "narHash": "sha256-E4Q+ruDcE1S+CrHLwdpB32NvcITKOJWrg9LhMs+/Of0=", 234 - "owner": "hyprland-community", 235 - "repo": "hyprnix", 236 - "rev": "cfb8fb276e605699589c578e27f0ddd8dbba102b", 237 - "type": "github" 238 - }, 239 - "original": { 240 - "owner": "hyprland-community", 241 - "repo": "hyprnix", 242 - "type": "github" 243 - } 244 - }, 245 245 "hyprland-protocols": { 246 246 "inputs": { 247 247 "nixpkgs": [ 248 - "hyprland-nix", 248 + "Hyprnix", 249 249 "hyprland", 250 250 "nixpkgs" 251 251 ], 252 252 "systems": [ 253 - "hyprland-nix", 253 + "Hyprnix", 254 254 "hyprland", 255 255 "systems" 256 256 ] ··· 272 272 "hyprland-protocols_2": { 273 273 "inputs": { 274 274 "nixpkgs": [ 275 - "hyprland-nix", 275 + "Hyprnix", 276 276 "nixpkgs" 277 277 ], 278 278 "systems": [ 279 - "hyprland-nix", 279 + "Hyprnix", 280 280 "systems" 281 281 ] 282 282 }, ··· 297 297 "hyprland-xdph": { 298 298 "inputs": { 299 299 "hyprland-protocols": [ 300 - "hyprland-nix", 300 + "Hyprnix", 301 301 "hyprland-protocols" 302 302 ], 303 303 "hyprlang": "hyprlang_2", 304 304 "nixpkgs": [ 305 - "hyprland-nix", 305 + "Hyprnix", 306 306 "nixpkgs" 307 307 ], 308 308 "systems": [ 309 - "hyprland-nix", 309 + "Hyprnix", 310 310 "systems" 311 311 ] 312 312 }, ··· 327 327 "hyprlang": { 328 328 "inputs": { 329 329 "nixpkgs": [ 330 - "hyprland-nix", 330 + "Hyprnix", 331 331 "hyprland", 332 332 "nixpkgs" 333 333 ], 334 334 "systems": [ 335 - "hyprland-nix", 335 + "Hyprnix", 336 336 "hyprland", 337 337 "systems" 338 338 ] ··· 354 354 "hyprlang_2": { 355 355 "inputs": { 356 356 "nixpkgs": [ 357 - "hyprland-nix", 357 + "Hyprnix", 358 358 "hyprland-xdph", 359 359 "nixpkgs" 360 360 ], 361 - "systems": "systems_3" 361 + "systems": "systems_2" 362 362 }, 363 363 "locked": { 364 364 "lastModified": 1708681732, ··· 377 377 "hyprlang_3": { 378 378 "inputs": { 379 379 "nixpkgs": [ 380 - "hyprland-nix", 380 + "Hyprnix", 381 381 "nixpkgs" 382 382 ], 383 383 "systems": [ 384 - "hyprland-nix", 384 + "Hyprnix", 385 385 "systems" 386 386 ] 387 387 }, ··· 414 414 }, 415 415 "nixpkgs": { 416 416 "locked": { 417 - "lastModified": 1703013332, 418 - "narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=", 419 - "owner": "NixOS", 417 + "lastModified": 1717868076, 418 + "narHash": "sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY=", 419 + "owner": "nixos", 420 420 "repo": "nixpkgs", 421 - "rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6", 421 + "rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9", 422 422 "type": "github" 423 423 }, 424 424 "original": { 425 - "owner": "NixOS", 426 - "ref": "nixos-unstable", 425 + "owner": "nixos", 426 + "ref": "nixpkgs-unstable", 427 427 "repo": "nixpkgs", 428 428 "type": "github" 429 429 } 430 430 }, 431 431 "nixpkgs_2": { 432 432 "locked": { 433 - "lastModified": 1712163089, 434 - "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", 435 - "owner": "NixOS", 433 + "lastModified": 1697723726, 434 + "narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=", 435 + "owner": "nixos", 436 436 "repo": "nixpkgs", 437 - "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", 437 + "rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0", 438 438 "type": "github" 439 439 }, 440 440 "original": { 441 - "owner": "NixOS", 441 + "owner": "nixos", 442 442 "ref": "nixos-unstable", 443 443 "repo": "nixpkgs", 444 444 "type": "github" ··· 446 446 }, 447 447 "nixpkgs_3": { 448 448 "locked": { 449 - "lastModified": 1717868076, 450 - "narHash": "sha256-c83Y9t815Wa34khrux81j8K8ET94ESmCuwORSKm2bQY=", 451 - "owner": "nixos", 449 + "lastModified": 1703013332, 450 + "narHash": "sha256-+tFNwMvlXLbJZXiMHqYq77z/RfmpfpiI3yjL6o/Zo9M=", 451 + "owner": "NixOS", 452 452 "repo": "nixpkgs", 453 - "rev": "cd18e2ae9ab8e2a0a8d715b60c91b54c0ac35ff9", 453 + "rev": "54aac082a4d9bb5bbc5c4e899603abfb76a3f6d6", 454 454 "type": "github" 455 455 }, 456 456 "original": { 457 - "owner": "nixos", 458 - "ref": "nixpkgs-unstable", 457 + "owner": "NixOS", 458 + "ref": "nixos-unstable", 459 459 "repo": "nixpkgs", 460 460 "type": "github" 461 461 } 462 462 }, 463 463 "nixpkgs_4": { 464 464 "locked": { 465 - "lastModified": 1697723726, 466 - "narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=", 467 - "owner": "nixos", 465 + "lastModified": 1712163089, 466 + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", 467 + "owner": "NixOS", 468 468 "repo": "nixpkgs", 469 - "rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0", 469 + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", 470 470 "type": "github" 471 471 }, 472 472 "original": { 473 - "owner": "nixos", 473 + "owner": "NixOS", 474 474 "ref": "nixos-unstable", 475 475 "repo": "nixpkgs", 476 476 "type": "github" ··· 494 494 }, 495 495 "root": { 496 496 "inputs": { 497 + "Hyprnix": "Hyprnix", 497 498 "agenix": "agenix", 498 499 "catppuccin": "catppuccin", 499 500 "disko": "disko", 500 501 "hardware": "hardware", 501 502 "home-manager": "home-manager_2", 502 503 "hyprland-contrib": "hyprland-contrib", 503 - "hyprland-nix": "hyprland-nix", 504 504 "nixos-hardware": "nixos-hardware", 505 505 "nixpkgs": "nixpkgs_5", 506 506 "spicetify-nix": "spicetify-nix" ··· 544 544 }, 545 545 "systems_2": { 546 546 "locked": { 547 - "lastModified": 1681028828, 548 - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 547 + "lastModified": 1689347949, 548 + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", 549 549 "owner": "nix-systems", 550 - "repo": "default", 551 - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 550 + "repo": "default-linux", 551 + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", 552 552 "type": "github" 553 553 }, 554 554 "original": { 555 555 "owner": "nix-systems", 556 - "repo": "default", 556 + "repo": "default-linux", 557 557 "type": "github" 558 558 } 559 559 }, ··· 574 574 }, 575 575 "systems_4": { 576 576 "locked": { 577 - "lastModified": 1689347949, 578 - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", 577 + "lastModified": 1681028828, 578 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 579 579 "owner": "nix-systems", 580 - "repo": "default-linux", 581 - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", 580 + "repo": "default", 581 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 582 582 "type": "github" 583 583 }, 584 584 "original": { 585 585 "owner": "nix-systems", 586 - "repo": "default-linux", 586 + "repo": "default", 587 587 "type": "github" 588 588 } 589 589 }, ··· 609 609 "xdph": { 610 610 "inputs": { 611 611 "hyprland-protocols": [ 612 - "hyprland-nix", 612 + "Hyprnix", 613 613 "hyprland", 614 614 "hyprland-protocols" 615 615 ], 616 616 "hyprlang": [ 617 - "hyprland-nix", 617 + "Hyprnix", 618 618 "hyprland", 619 619 "hyprlang" 620 620 ], 621 621 "nixpkgs": [ 622 - "hyprland-nix", 622 + "Hyprnix", 623 623 "hyprland", 624 624 "nixpkgs" 625 625 ], 626 626 "systems": [ 627 - "hyprland-nix", 627 + "Hyprnix", 628 628 "hyprland", 629 629 "systems" 630 630 ]
+1 -1
flake.nix
··· 13 13 home-manager.inputs.nixpkgs.follows = "nixpkgs"; 14 14 15 15 # hyprland nix 16 - hyprland-nix.url = "github:hyprland-community/hyprnix"; 16 + Hyprnix.url = "github:hyprland-community/hyprnix"; 17 17 hyprland-contrib = { 18 18 url = "github:hyprwm/contrib"; 19 19 };
+5
home-manager/home.nix
··· 21 21 # catpuccin 22 22 inputs.catppuccin.homeManagerModules.catppuccin 23 23 24 + inputs.Hyprnix.homeManagerModules.hyprland 25 + 24 26 ./hyprland.nix 27 + # ./hyprland 25 28 26 29 ./waybar.nix 27 30 ]; ··· 59 62 flavor = "macchiato"; 60 63 }; 61 64 }; 65 + 66 + wayland.windowManager.hyprland.enable = true; 62 67 63 68 # git config 64 69 programs.git = {
moonlark/hyprland/config.nix home-manager/hyprland/config.nix
moonlark/hyprland/default.nix home-manager/hyprland/default.nix
moonlark/hyprland/keybinds.nix home-manager/hyprland/keybinds.nix
moonlark/hyprland/waybar.nix home-manager/hyprland/waybar.nix
moonlark/hyprland/waybar.scss home-manager/hyprland/waybar.scss
moonlark/hyprland/windowrules.nix home-manager/hyprland/windowrules.nix