Added hyprlock

This commit is contained in:
Ryan 2024-10-19 00:17:40 -04:00
parent cc6e0d95e5
commit 260a2e3d68
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
3 changed files with 104 additions and 4 deletions

View file

@ -207,15 +207,68 @@
"type": "github" "type": "github"
} }
}, },
"hyprpicker-git": { "hyprlang_2": {
"inputs": { "inputs": {
"hyprutils": [
"hyprlock",
"hyprutils"
],
"nixpkgs": [
"hyprlock",
"nixpkgs"
],
"systems": [
"hyprlock",
"systems"
]
},
"locked": {
"lastModified": 1721324361,
"narHash": "sha256-BiJKO0IIdnSwHQBSrEJlKlFr753urkLE48wtt0UhNG4=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "adbefbf49664a6c2c8bf36b6487fd31e3eb68086",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprlock": {
"inputs": {
"hyprlang": "hyprlang_2",
"hyprutils": "hyprutils_2", "hyprutils": "hyprutils_2",
"hyprwayland-scanner": "hyprwayland-scanner_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": {
"lastModified": 1721563228,
"narHash": "sha256-w+AyYuqlZ/uWEimiptlHjtDFECm/JlUOD2ciCw8/+/8=",
"owner": "hyprwm",
"repo": "hyprlock",
"rev": "dba9d8b5175a6f23463035aafc6b0c741f9b73a5",
"type": "github"
},
"original": {
"owner": "hyprwm",
"ref": "v0.4.1",
"repo": "hyprlock",
"type": "github"
}
},
"hyprpicker-git": {
"inputs": {
"hyprutils": "hyprutils_3",
"hyprwayland-scanner": "hyprwayland-scanner_2",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_3"
},
"locked": { "locked": {
"lastModified": 1727732210, "lastModified": 1727732210,
"narHash": "sha256-VNKakkdx1mjfO5MyGZbx8m87YKZ4B8cylU50R0J662g=", "narHash": "sha256-VNKakkdx1mjfO5MyGZbx8m87YKZ4B8cylU50R0J662g=",
@ -256,6 +309,31 @@
} }
}, },
"hyprutils_2": { "hyprutils_2": {
"inputs": {
"nixpkgs": [
"hyprlock",
"nixpkgs"
],
"systems": [
"hyprlock",
"systems"
]
},
"locked": {
"lastModified": 1721324102,
"narHash": "sha256-WAZ0X6yJW1hFG6otkHBfyJDKRpNP5stsRqdEuHrFRpk=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "962582a090bc233c4de9d9897f46794280288989",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprutils",
"type": "github"
}
},
"hyprutils_3": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"hyprpicker-git", "hyprpicker-git",
@ -371,6 +449,7 @@
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprlock": "hyprlock",
"hyprpicker-git": "hyprpicker-git", "hyprpicker-git": "hyprpicker-git",
"nixgl": "nixgl", "nixgl": "nixgl",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
@ -406,6 +485,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols_2", "hyprland-protocols": "hyprland-protocols_2",

View file

@ -16,13 +16,17 @@
url = "github:hyprwm/hyprland/v0.44.1"; url = "github:hyprwm/hyprland/v0.44.1";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
hyprlock = {
url = "github:hyprwm/hyprlock/v0.4.1";
inputs.nixpkgs.follows = "nixpkgs";
};
nixgl = { nixgl = {
url = "github:nix-community/nixGL"; url = "github:nix-community/nixGL";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, nixgl, ... }@inputs: outputs = { nixpkgs, home-manager, hyprpicker-git, hyprland, hyprlock, nixgl, ... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
@ -43,6 +47,7 @@
_module.args = { _module.args = {
inherit hyprland; inherit hyprland;
inherit nixgl; inherit nixgl;
inherit hyprlock;
}; };
} }
]; ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, hyprland, nixgl, ... }: { config, pkgs, hyprland, hyprlock, nixgl, ... }:
{ {
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
@ -49,6 +49,7 @@
# Flakes specific things defined in flake.nix # Flakes specific things defined in flake.nix
hyprland.packages.${pkgs.system}.default hyprland.packages.${pkgs.system}.default
nixgl.packages.${pkgs.system}.nixGLIntel nixgl.packages.${pkgs.system}.nixGLIntel
hyprlock.packages.${pkgs.system}.default
# Fonts! # Fonts!
noto-fonts noto-fonts