diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2025-01-20 21:29:11 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2025-01-20 21:29:11 -0500 |
commit | de3f5434bd7a1a323663d88d3b0eca15aa8f46bf (patch) | |
tree | 3077396e38340d561ff0eb314a69be5d24dfe6f1 | |
parent | ddd6e973d651b9d9c4d160c8ebb288daa071e259 (diff) |
fixed hyprlock and updated hyprpicker
-rw-r--r-- | home-config/nix-home-manager/flake.lock | 191 | ||||
-rw-r--r-- | home-config/nix-home-manager/flake.nix | 11 | ||||
-rw-r--r-- | home-config/nix-home-manager/home.nix | 15 |
3 files changed, 199 insertions, 18 deletions
diff --git a/home-config/nix-home-manager/flake.lock b/home-config/nix-home-manager/flake.lock index 8e3e4ed..ae044f1 100644 --- a/home-config/nix-home-manager/flake.lock +++ b/home-config/nix-home-manager/flake.lock | |||
@@ -153,6 +153,35 @@ | |||
153 | "type": "github" | 153 | "type": "github" |
154 | } | 154 | } |
155 | }, | 155 | }, |
156 | "hyprgraphics_2": { | ||
157 | "inputs": { | ||
158 | "hyprutils": [ | ||
159 | "hyprlock", | ||
160 | "hyprutils" | ||
161 | ], | ||
162 | "nixpkgs": [ | ||
163 | "hyprlock", | ||
164 | "nixpkgs" | ||
165 | ], | ||
166 | "systems": [ | ||
167 | "hyprlock", | ||
168 | "systems" | ||
169 | ] | ||
170 | }, | ||
171 | "locked": { | ||
172 | "lastModified": 1734906236, | ||
173 | "narHash": "sha256-vH/ysV2ONGQgYZPtcJKwc8jJivzyVxru2aaOxC20ZOE=", | ||
174 | "owner": "hyprwm", | ||
175 | "repo": "hyprgraphics", | ||
176 | "rev": "6dea3fba08fd704dd624b6d4b261638fb4003c9c", | ||
177 | "type": "github" | ||
178 | }, | ||
179 | "original": { | ||
180 | "owner": "hyprwm", | ||
181 | "repo": "hyprgraphics", | ||
182 | "type": "github" | ||
183 | } | ||
184 | }, | ||
156 | "hyprland": { | 185 | "hyprland": { |
157 | "inputs": { | 186 | "inputs": { |
158 | "aquamarine": "aquamarine", | 187 | "aquamarine": "aquamarine", |
@@ -268,26 +297,81 @@ | |||
268 | "type": "github" | 297 | "type": "github" |
269 | } | 298 | } |
270 | }, | 299 | }, |
271 | "hyprpicker-git": { | 300 | "hyprlang_2": { |
301 | "inputs": { | ||
302 | "hyprutils": [ | ||
303 | "hyprlock", | ||
304 | "hyprutils" | ||
305 | ], | ||
306 | "nixpkgs": [ | ||
307 | "hyprlock", | ||
308 | "nixpkgs" | ||
309 | ], | ||
310 | "systems": [ | ||
311 | "hyprlock", | ||
312 | "systems" | ||
313 | ] | ||
314 | }, | ||
315 | "locked": { | ||
316 | "lastModified": 1735393019, | ||
317 | "narHash": "sha256-NPpqA8rtmDLsEmZOmz+qR67zsB6Y503Jnv+nSFLKJZ8=", | ||
318 | "owner": "hyprwm", | ||
319 | "repo": "hyprlang", | ||
320 | "rev": "55608efdaa387af7bfdc0eddb404c409958efa43", | ||
321 | "type": "github" | ||
322 | }, | ||
323 | "original": { | ||
324 | "owner": "hyprwm", | ||
325 | "repo": "hyprlang", | ||
326 | "type": "github" | ||
327 | } | ||
328 | }, | ||
329 | "hyprlock": { | ||
272 | "inputs": { | 330 | "inputs": { |
331 | "hyprgraphics": "hyprgraphics_2", | ||
332 | "hyprlang": "hyprlang_2", | ||
273 | "hyprutils": "hyprutils_3", | 333 | "hyprutils": "hyprutils_3", |
274 | "hyprwayland-scanner": "hyprwayland-scanner_3", | 334 | "hyprwayland-scanner": "hyprwayland-scanner_3", |
275 | "nixpkgs": [ | 335 | "nixpkgs": [ |
276 | "nixpkgs" | 336 | "nixpkgs" |
277 | ], | 337 | ], |
278 | "systems": "systems_3" | 338 | "systems": "systems_4" |
279 | }, | 339 | }, |
280 | "locked": { | 340 | "locked": { |
281 | "lastModified": 1727705155, | 341 | "lastModified": 1735497496, |
282 | "narHash": "sha256-gu26MSYbTlRLMUpZ9PeYXtqqhzPDQXxEDkjiJgwzIIc=", | 342 | "narHash": "sha256-lT6f/5NB73xj9cVesi2SNsL5jVciwZJp8QRohiv+3Hk=", |
343 | "owner": "hyprwm", | ||
344 | "repo": "hyprlock", | ||
345 | "rev": "3d63d9b129d5def270bc8a2471347e6f97274e2b", | ||
346 | "type": "github" | ||
347 | }, | ||
348 | "original": { | ||
349 | "owner": "hyprwm", | ||
350 | "ref": "v0.6.1", | ||
351 | "repo": "hyprlock", | ||
352 | "type": "github" | ||
353 | } | ||
354 | }, | ||
355 | "hyprpicker-git": { | ||
356 | "inputs": { | ||
357 | "hyprutils": "hyprutils_4", | ||
358 | "hyprwayland-scanner": "hyprwayland-scanner_4", | ||
359 | "nixpkgs": [ | ||
360 | "nixpkgs" | ||
361 | ], | ||
362 | "systems": "systems_5" | ||
363 | }, | ||
364 | "locked": { | ||
365 | "lastModified": 1737129788, | ||
366 | "narHash": "sha256-CWmzXhsdk+c1d7Ub7TXQ2BVYla1HSJ9jbgOilbVl1so=", | ||
283 | "owner": "hyprwm", | 367 | "owner": "hyprwm", |
284 | "repo": "hyprpicker", | 368 | "repo": "hyprpicker", |
285 | "rev": "116cec14a552191a9ad69ca96252ca12ecfa9826", | 369 | "rev": "0b044884d9298bb5fac164101eb880b499d8a5df", |
286 | "type": "github" | 370 | "type": "github" |
287 | }, | 371 | }, |
288 | "original": { | 372 | "original": { |
289 | "owner": "hyprwm", | 373 | "owner": "hyprwm", |
290 | "ref": "v0.4.1", | 374 | "ref": "v0.4.2", |
291 | "repo": "hyprpicker", | 375 | "repo": "hyprpicker", |
292 | "type": "github" | 376 | "type": "github" |
293 | } | 377 | } |
@@ -346,6 +430,25 @@ | |||
346 | }, | 430 | }, |
347 | "hyprutils_3": { | 431 | "hyprutils_3": { |
348 | "inputs": { | 432 | "inputs": { |
433 | "nixpkgs": "nixpkgs_2", | ||
434 | "systems": "systems_3" | ||
435 | }, | ||
436 | "locked": { | ||
437 | "lastModified": 1736164519, | ||
438 | "narHash": "sha256-1LimBKvDpBbeX+qW7T240WEyw+DBVpDotZB4JYm8Aps=", | ||
439 | "owner": "hyprwm", | ||
440 | "repo": "hyprutils", | ||
441 | "rev": "3c895da64b0eb19870142196fa48c07090b441c4", | ||
442 | "type": "github" | ||
443 | }, | ||
444 | "original": { | ||
445 | "owner": "hyprwm", | ||
446 | "repo": "hyprutils", | ||
447 | "type": "github" | ||
448 | } | ||
449 | }, | ||
450 | "hyprutils_4": { | ||
451 | "inputs": { | ||
349 | "nixpkgs": [ | 452 | "nixpkgs": [ |
350 | "hyprpicker-git", | 453 | "hyprpicker-git", |
351 | "nixpkgs" | 454 | "nixpkgs" |
@@ -424,6 +527,31 @@ | |||
424 | "hyprwayland-scanner_3": { | 527 | "hyprwayland-scanner_3": { |
425 | "inputs": { | 528 | "inputs": { |
426 | "nixpkgs": [ | 529 | "nixpkgs": [ |
530 | "hyprlock", | ||
531 | "nixpkgs" | ||
532 | ], | ||
533 | "systems": [ | ||
534 | "hyprlock", | ||
535 | "systems" | ||
536 | ] | ||
537 | }, | ||
538 | "locked": { | ||
539 | "lastModified": 1735493474, | ||
540 | "narHash": "sha256-fktzv4NaqKm94VAkAoVqO/nqQlw+X0/tJJNAeCSfzK4=", | ||
541 | "owner": "hyprwm", | ||
542 | "repo": "hyprwayland-scanner", | ||
543 | "rev": "de913476b59ee88685fdc018e77b8f6637a2ae0b", | ||
544 | "type": "github" | ||
545 | }, | ||
546 | "original": { | ||
547 | "owner": "hyprwm", | ||
548 | "repo": "hyprwayland-scanner", | ||
549 | "type": "github" | ||
550 | } | ||
551 | }, | ||
552 | "hyprwayland-scanner_4": { | ||
553 | "inputs": { | ||
554 | "nixpkgs": [ | ||
427 | "hyprpicker-git", | 555 | "hyprpicker-git", |
428 | "nixpkgs" | 556 | "nixpkgs" |
429 | ], | 557 | ], |
@@ -486,6 +614,22 @@ | |||
486 | }, | 614 | }, |
487 | "nixpkgs_2": { | 615 | "nixpkgs_2": { |
488 | "locked": { | 616 | "locked": { |
617 | "lastModified": 1737062831, | ||
618 | "narHash": "sha256-Tbk1MZbtV2s5aG+iM99U8FqwxU/YNArMcWAv6clcsBc=", | ||
619 | "owner": "NixOS", | ||
620 | "repo": "nixpkgs", | ||
621 | "rev": "5df43628fdf08d642be8ba5b3625a6c70731c19c", | ||
622 | "type": "github" | ||
623 | }, | ||
624 | "original": { | ||
625 | "owner": "NixOS", | ||
626 | "ref": "nixos-unstable", | ||
627 | "repo": "nixpkgs", | ||
628 | "type": "github" | ||
629 | } | ||
630 | }, | ||
631 | "nixpkgs_3": { | ||
632 | "locked": { | ||
489 | "lastModified": 1736012469, | 633 | "lastModified": 1736012469, |
490 | "narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=", | 634 | "narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=", |
491 | "owner": "nixos", | 635 | "owner": "nixos", |
@@ -527,9 +671,10 @@ | |||
527 | "inputs": { | 671 | "inputs": { |
528 | "home-manager": "home-manager", | 672 | "home-manager": "home-manager", |
529 | "hyprland": "hyprland", | 673 | "hyprland": "hyprland", |
674 | "hyprlock": "hyprlock", | ||
530 | "hyprpicker-git": "hyprpicker-git", | 675 | "hyprpicker-git": "hyprpicker-git", |
531 | "nixgl": "nixgl", | 676 | "nixgl": "nixgl", |
532 | "nixpkgs": "nixpkgs_2", | 677 | "nixpkgs": "nixpkgs_3", |
533 | "wpaperd": "wpaperd" | 678 | "wpaperd": "wpaperd" |
534 | } | 679 | } |
535 | }, | 680 | }, |
@@ -614,13 +759,43 @@ | |||
614 | "type": "github" | 759 | "type": "github" |
615 | } | 760 | } |
616 | }, | 761 | }, |
762 | "systems_5": { | ||
763 | "locked": { | ||
764 | "lastModified": 1689347949, | ||
765 | "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | ||
766 | "owner": "nix-systems", | ||
767 | "repo": "default-linux", | ||
768 | "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", | ||
769 | "type": "github" | ||
770 | }, | ||
771 | "original": { | ||
772 | "owner": "nix-systems", | ||
773 | "repo": "default-linux", | ||
774 | "type": "github" | ||
775 | } | ||
776 | }, | ||
777 | "systems_6": { | ||
778 | "locked": { | ||
779 | "lastModified": 1689347949, | ||
780 | "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", | ||
781 | "owner": "nix-systems", | ||
782 | "repo": "default-linux", | ||
783 | "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", | ||
784 | "type": "github" | ||
785 | }, | ||
786 | "original": { | ||
787 | "owner": "nix-systems", | ||
788 | "repo": "default-linux", | ||
789 | "type": "github" | ||
790 | } | ||
791 | }, | ||
617 | "wpaperd": { | 792 | "wpaperd": { |
618 | "inputs": { | 793 | "inputs": { |
619 | "nixpkgs": [ | 794 | "nixpkgs": [ |
620 | "nixpkgs" | 795 | "nixpkgs" |
621 | ], | 796 | ], |
622 | "rust-overlay": "rust-overlay", | 797 | "rust-overlay": "rust-overlay", |
623 | "systems": "systems_4" | 798 | "systems": "systems_6" |
624 | }, | 799 | }, |
625 | "locked": { | 800 | "locked": { |
626 | "lastModified": 1731514601, | 801 | "lastModified": 1731514601, |
diff --git a/home-config/nix-home-manager/flake.nix b/home-config/nix-home-manager/flake.nix index af0af94..9dd2bec 100644 --- a/home-config/nix-home-manager/flake.nix +++ b/home-config/nix-home-manager/flake.nix | |||
@@ -8,8 +8,12 @@ | |||
8 | url = "github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d"; | 8 | url = "github:nix-community/home-manager/fc52a210b60f2f52c74eac41a8647c1573d2071d"; |
9 | inputs.nixpkgs.follows = "nixpkgs"; | 9 | inputs.nixpkgs.follows = "nixpkgs"; |
10 | }; | 10 | }; |
11 | hyprlock = { | ||
12 | url = "github:hyprwm/hyprlock/v0.6.1"; | ||
13 | inputs.nixpkgs.follows = "nixpkgs"; | ||
14 | }; | ||
11 | hyprpicker-git = { | 15 | hyprpicker-git = { |
12 | url = "github:hyprwm/hyprpicker/v0.4.1"; | 16 | url = "github:hyprwm/hyprpicker/v0.4.2"; |
13 | inputs.nixpkgs.follows = "nixpkgs"; | 17 | inputs.nixpkgs.follows = "nixpkgs"; |
14 | }; | 18 | }; |
15 | hyprland = { | 19 | hyprland = { |
@@ -28,12 +32,11 @@ | |||
28 | #mozff.url = "github:mozilla/nixpkgs-mozilla"; | 32 | #mozff.url = "github:mozilla/nixpkgs-mozilla"; |
29 | }; | 33 | }; |
30 | 34 | ||
31 | outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, ... }@inputs: | 35 | outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, wpaperd, hyprlock, ... }@inputs: |
32 | let | 36 | let |
33 | system = "x86_64-linux"; | 37 | system = "x86_64-linux"; |
34 | pkgs = nixpkgs.legacyPackages.${system}; | 38 | pkgs = nixpkgs.legacyPackages.${system}; |
35 | overlays = [ | 39 | overlays = [ |
36 | hyprpicker-git.overlays.default | ||
37 | nixgl.overlay | 40 | nixgl.overlay |
38 | #mozff.overlays.firefox | 41 | #mozff.overlays.firefox |
39 | ]; | 42 | ]; |
@@ -51,6 +54,8 @@ | |||
51 | inherit hyprland; | 54 | inherit hyprland; |
52 | inherit nixgl; | 55 | inherit nixgl; |
53 | inherit wpaperd; | 56 | inherit wpaperd; |
57 | inherit hyprlock; | ||
58 | inherit hyprpicker-git; | ||
54 | }; | 59 | }; |
55 | } | 60 | } |
56 | ]; | 61 | ]; |
diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix index 4c889c9..70fb4b1 100644 --- a/home-config/nix-home-manager/home.nix +++ b/home-config/nix-home-manager/home.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { config, pkgs, hyprland, nixgl, wpaperd, ... }: | 1 | { config, pkgs, hyprland, nixgl, hyprpicker-git, wpaperd, hyprlock, ... }: |
2 | let | 2 | let |
3 | lock-false = { | 3 | lock-false = { |
4 | Value = false; | 4 | Value = false; |
@@ -383,7 +383,7 @@ | |||
383 | waypaper | 383 | waypaper |
384 | gdu | 384 | gdu |
385 | spotify-player | 385 | spotify-player |
386 | hyprpicker | 386 | #hyprpicker |
387 | xwayland | 387 | xwayland |
388 | xdg-desktop-portal | 388 | xdg-desktop-portal |
389 | xdg-desktop-portal-gtk | 389 | xdg-desktop-portal-gtk |
@@ -399,17 +399,18 @@ | |||
399 | starship | 399 | starship |
400 | 400 | ||
401 | # Wrapped programs for some env variables | 401 | # Wrapped programs for some env variables |
402 | # (pkgs.writeScriptBin "hyprlock" '' | 402 | (pkgs.writeScriptBin "hyprlock" '' |
403 | # #! ${pkgs.bash}/bin/bash | 403 | #! ${pkgs.bash}/bin/bash |
404 | # export LD_PRELOAD="/run/current-system/profile/lib/libpam.so.0:/run/current-system/profile/lib/libfontconfig.so:$LD_PRELOAD" | 404 | export LD_PRELOAD="/run/current-system/profile/lib/libpam.so.0:/run/current-system/profile/lib/libfontconfig.so:$LD_PRELOAD" |
405 | # exec ${pkgs.hyprlock}/bin/hyprlock "$@" | 405 | exec ${hyprlock.packages.${pkgs.system}.hyprlock}/bin/hyprlock "$@" |
406 | # '') | 406 | '') |
407 | 407 | ||
408 | # Flakes specific things defined in flake.nix | 408 | # Flakes specific things defined in flake.nix |
409 | hyprland.packages.${pkgs.system}.default | 409 | hyprland.packages.${pkgs.system}.default |
410 | hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland | 410 | hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland |
411 | nixgl.packages.${pkgs.system}.nixGLIntel | 411 | nixgl.packages.${pkgs.system}.nixGLIntel |
412 | wpaperd.packages.${pkgs.system}.wpaperd | 412 | wpaperd.packages.${pkgs.system}.wpaperd |
413 | hyprpicker-git.packages.${pkgs.system}.hyprpicker | ||
413 | 414 | ||
414 | # Fonts! | 415 | # Fonts! |
415 | noto-fonts | 416 | noto-fonts |