summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2024-10-19 00:17:40 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2024-10-19 00:17:40 -0400
commit260a2e3d681bea7a71596a8db244a3bc9d096bbc (patch)
tree82c2ad4b02da1a8f61226fcf30301645d0024bf8
parentcc6e0d95e5c812ee9dbc391cb1128076013c27ea (diff)
Added hyprlock
-rw-r--r--home-config/nix-home-manager/flake.lock98
-rw-r--r--home-config/nix-home-manager/flake.nix7
-rw-r--r--home-config/nix-home-manager/home.nix3
3 files changed, 104 insertions, 4 deletions
diff --git a/home-config/nix-home-manager/flake.lock b/home-config/nix-home-manager/flake.lock
index 8885a8c..8a67541 100644
--- a/home-config/nix-home-manager/flake.lock
+++ b/home-config/nix-home-manager/flake.lock
@@ -207,16 +207,69 @@
207 "type": "github" 207 "type": "github"
208 } 208 }
209 }, 209 },
210 "hyprpicker-git": { 210 "hyprlang_2": {
211 "inputs": { 211 "inputs": {
212 "hyprutils": [
213 "hyprlock",
214 "hyprutils"
215 ],
216 "nixpkgs": [
217 "hyprlock",
218 "nixpkgs"
219 ],
220 "systems": [
221 "hyprlock",
222 "systems"
223 ]
224 },
225 "locked": {
226 "lastModified": 1721324361,
227 "narHash": "sha256-BiJKO0IIdnSwHQBSrEJlKlFr753urkLE48wtt0UhNG4=",
228 "owner": "hyprwm",
229 "repo": "hyprlang",
230 "rev": "adbefbf49664a6c2c8bf36b6487fd31e3eb68086",
231 "type": "github"
232 },
233 "original": {
234 "owner": "hyprwm",
235 "repo": "hyprlang",
236 "type": "github"
237 }
238 },
239 "hyprlock": {
240 "inputs": {
241 "hyprlang": "hyprlang_2",
212 "hyprutils": "hyprutils_2", 242 "hyprutils": "hyprutils_2",
213 "hyprwayland-scanner": "hyprwayland-scanner_2",
214 "nixpkgs": [ 243 "nixpkgs": [
215 "nixpkgs" 244 "nixpkgs"
216 ], 245 ],
217 "systems": "systems_2" 246 "systems": "systems_2"
218 }, 247 },
219 "locked": { 248 "locked": {
249 "lastModified": 1721563228,
250 "narHash": "sha256-w+AyYuqlZ/uWEimiptlHjtDFECm/JlUOD2ciCw8/+/8=",
251 "owner": "hyprwm",
252 "repo": "hyprlock",
253 "rev": "dba9d8b5175a6f23463035aafc6b0c741f9b73a5",
254 "type": "github"
255 },
256 "original": {
257 "owner": "hyprwm",
258 "ref": "v0.4.1",
259 "repo": "hyprlock",
260 "type": "github"
261 }
262 },
263 "hyprpicker-git": {
264 "inputs": {
265 "hyprutils": "hyprutils_3",
266 "hyprwayland-scanner": "hyprwayland-scanner_2",
267 "nixpkgs": [
268 "nixpkgs"
269 ],
270 "systems": "systems_3"
271 },
272 "locked": {
220 "lastModified": 1727732210, 273 "lastModified": 1727732210,
221 "narHash": "sha256-VNKakkdx1mjfO5MyGZbx8m87YKZ4B8cylU50R0J662g=", 274 "narHash": "sha256-VNKakkdx1mjfO5MyGZbx8m87YKZ4B8cylU50R0J662g=",
222 "owner": "hyprwm", 275 "owner": "hyprwm",
@@ -258,6 +311,31 @@
258 "hyprutils_2": { 311 "hyprutils_2": {
259 "inputs": { 312 "inputs": {
260 "nixpkgs": [ 313 "nixpkgs": [
314 "hyprlock",
315 "nixpkgs"
316 ],
317 "systems": [
318 "hyprlock",
319 "systems"
320 ]
321 },
322 "locked": {
323 "lastModified": 1721324102,
324 "narHash": "sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk=",
325 "owner": "hyprwm",
326 "repo": "hyprutils",
327 "rev": "962582a090bc233c4de9d9897f46794280288989",
328 "type": "github"
329 },
330 "original": {
331 "owner": "hyprwm",
332 "repo": "hyprutils",
333 "type": "github"
334 }
335 },
336 "hyprutils_3": {
337 "inputs": {
338 "nixpkgs": [
261 "hyprpicker-git", 339 "hyprpicker-git",
262 "nixpkgs" 340 "nixpkgs"
263 ], 341 ],
@@ -371,6 +449,7 @@
371 "inputs": { 449 "inputs": {
372 "home-manager": "home-manager", 450 "home-manager": "home-manager",
373 "hyprland": "hyprland", 451 "hyprland": "hyprland",
452 "hyprlock": "hyprlock",
374 "hyprpicker-git": "hyprpicker-git", 453 "hyprpicker-git": "hyprpicker-git",
375 "nixgl": "nixgl", 454 "nixgl": "nixgl",
376 "nixpkgs": "nixpkgs" 455 "nixpkgs": "nixpkgs"
@@ -406,6 +485,21 @@
406 "type": "github" 485 "type": "github"
407 } 486 }
408 }, 487 },
488 "systems_3": {
489 "locked": {
490 "lastModified": 1689347949,
491 "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
492 "owner": "nix-systems",
493 "repo": "default-linux",
494 "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
495 "type": "github"
496 },
497 "original": {
498 "owner": "nix-systems",
499 "repo": "default-linux",
500 "type": "github"
501 }
502 },
409 "xdph": { 503 "xdph": {
410 "inputs": { 504 "inputs": {
411 "hyprland-protocols": "hyprland-protocols_2", 505 "hyprland-protocols": "hyprland-protocols_2",
diff --git a/home-config/nix-home-manager/flake.nix b/home-config/nix-home-manager/flake.nix
index 6429214..9eb13bf 100644
--- a/home-config/nix-home-manager/flake.nix
+++ b/home-config/nix-home-manager/flake.nix
@@ -16,13 +16,17 @@
16 url = "github:hyprwm/hyprland/v0.44.1"; 16 url = "github:hyprwm/hyprland/v0.44.1";
17 inputs.nixpkgs.follows = "nixpkgs"; 17 inputs.nixpkgs.follows = "nixpkgs";
18 }; 18 };
19 hyprlock = {
20 url = "github:hyprwm/hyprlock/v0.4.1";
21 inputs.nixpkgs.follows = "nixpkgs";
22 };
19 nixgl = { 23 nixgl = {
20 url = "github:nix-community/nixGL"; 24 url = "github:nix-community/nixGL";
21 inputs.nixpkgs.follows = "nixpkgs"; 25 inputs.nixpkgs.follows = "nixpkgs";
22 }; 26 };
23 }; 27 };
24 28
25 outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, ... }@inputs: 29 outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, hyprlock, nixgl, ... }@inputs:
26 let 30 let
27 system = "x86_64-linux"; 31 system = "x86_64-linux";
28 pkgs = nixpkgs.legacyPackages.${system}; 32 pkgs = nixpkgs.legacyPackages.${system};
@@ -43,6 +47,7 @@
43 _module.args = { 47 _module.args = {
44 inherit hyprland; 48 inherit hyprland;
45 inherit nixgl; 49 inherit nixgl;
50 inherit hyprlock;
46 }; 51 };
47 } 52 }
48 ]; 53 ];
diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix
index 92e9082..c572a6f 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, ... }: 1{ config, pkgs, hyprland, hyprlock, nixgl, ... }:
2 2
3{ 3{
4 # Home Manager needs a bit of information about you and the paths it should 4 # Home Manager needs a bit of information about you and the paths it should
@@ -49,6 +49,7 @@
49 # Flakes specific things defined in flake.nix 49 # Flakes specific things defined in flake.nix
50 hyprland.packages.${pkgs.system}.default 50 hyprland.packages.${pkgs.system}.default
51 nixgl.packages.${pkgs.system}.nixGLIntel 51 nixgl.packages.${pkgs.system}.nixGLIntel
52 hyprlock.packages.${pkgs.system}.default
52 53
53 # Fonts! 54 # Fonts!
54 noto-fonts 55 noto-fonts