hyprlock: fix not working on AMGGPU

This commit is contained in:
Tigor Hutasuhut 2024-10-20 10:19:18 +07:00
parent 312375d541
commit 6da1e37b3a
2 changed files with 34 additions and 34 deletions

View file

@ -137,11 +137,11 @@
]
},
"locked": {
"lastModified": 1728778939,
"narHash": "sha256-WybK5E3hpGxtCYtBwpRj1E9JoiVxe+8kX83snTNaFHE=",
"lastModified": 1729104314,
"narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "ff68f91754be6f3427e4986d7949e6273659be1d",
"rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
"type": "github"
},
"original": {
@ -280,11 +280,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1729113795,
"narHash": "sha256-tV6aeQZ1wvAVDi+JW+IpXH9xQjZX+ZNFsuQCfWj2zWs=",
"lastModified": 1729378105,
"narHash": "sha256-pcrrLHaHXct4I985PZhNZVYLghwZvQnnjGNToL56DFY=",
"ref": "refs/heads/main",
"rev": "b57086aa4362117c1f1025246f618d760e44b026",
"revCount": 5349,
"rev": "08cc063e175e48cea44d26b7e3762f4b8611f0c5",
"revCount": 5362,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -302,11 +302,11 @@
]
},
"locked": {
"lastModified": 1725551787,
"narHash": "sha256-6LgsZHz8w3g4c9bRUwRAR+WIMwFGGf3P1VZQcKNRf2o=",
"lastModified": 1729224425,
"narHash": "sha256-w9dNUedNe2qnhHuhcRf7A1l29+/6DxdMfwN6g4U3c/w=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "1e531dc49ad36c88b45bf836081a7a2c8927e072",
"rev": "d72bc8b1cd30d448bd438e8328f8eeb4c0f2ddb6",
"type": "github"
},
"original": {
@ -429,11 +429,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1729058155,
"narHash": "sha256-m/wgI/ZWERMrADlk/c2aF/MKIchBghWQ0YUkTqhgDwU=",
"lastModified": 1729147490,
"narHash": "sha256-F0/iQVbbIFctMPwK4JEd4fxVzNwaq7NnD5oen59S24s=",
"owner": "nix-community",
"repo": "neovim-nightly-overlay",
"rev": "97456a48c4784f34e6c7f2f1e5fbde7a145b866a",
"rev": "e2047498667aeb24e8493ff430a20cff713915f4",
"type": "github"
},
"original": {
@ -445,11 +445,11 @@
"neovim-src": {
"flake": false,
"locked": {
"lastModified": 1729018221,
"narHash": "sha256-xwFqmvrzzymfE/6NE1g/E2TOOou23Ok08bzLeftfdow=",
"lastModified": 1729121305,
"narHash": "sha256-c94xkA/RuszC4PfmB+MWqOo2vbO66GTO6XKer0mbltA=",
"owner": "neovim",
"repo": "neovim",
"rev": "82b02ae2f2af439a8c678ed6b55a43121055f279",
"rev": "852954ff6d96adce0158f74ca494fdcef3aa1921",
"type": "github"
},
"original": {
@ -543,11 +543,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1728888510,
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
"lastModified": 1729256560,
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a3c0b3b21515f74fd2665903d4ce6bc4dc81c77c",
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github"
},
"original": {
@ -558,11 +558,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1728538411,
"narHash": "sha256-f0SBJz1eZ2yOuKUr5CA9BHULGXVSn6miBuUWdTyhUhU=",
"lastModified": 1728863046,
"narHash": "sha256-DZBO2465PL5V89e8hFSJewyH4QbCPpW3ssws7ckT/0A=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b69de56fac8c2b6f8fd27f2eca01dcda8e0a4221",
"rev": "d4f247e89f6e10120f911e2e2d2254a050d0f732",
"type": "github"
},
"original": {
@ -574,11 +574,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1728909085,
"narHash": "sha256-WLxED18lodtQiayIPDE5zwAfkPJSjHJ35UhZ8h3cJUg=",
"lastModified": 1729181673,
"narHash": "sha256-LDiPhQ3l+fBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c0b1da36f7c34a7146501f684e9ebdf15d2bebf8",
"rev": "4eb33fe664af7b41a4c446f87d20c9a0a6321fa3",
"type": "github"
},
"original": {
@ -589,11 +589,11 @@
},
"nur": {
"locked": {
"lastModified": 1729143743,
"narHash": "sha256-NPrOu8Cb74kZGBMkdfZ5+Ao6Tuim5mDoSrLItaPBvuM=",
"lastModified": 1729392836,
"narHash": "sha256-f9eTg3d2WqvmEndg+gVJsOSgAAgwbdCmqE0uChRn+NY=",
"owner": "nix-community",
"repo": "NUR",
"rev": "3733ee7b40379119a163564143d6b8684daf36c9",
"rev": "16477276162556c0b59016bb07e79ed04dd6565c",
"type": "github"
},
"original": {
@ -648,11 +648,11 @@
]
},
"locked": {
"lastModified": 1729132166,
"narHash": "sha256-Mhl4T7gDGknG4nPbHNSGWynfSjZeoWBdsaIzhUYuIlU=",
"lastModified": 1729391507,
"narHash": "sha256-as0I9xieJUHf7kiK2a9znDsVZQTFWhM1pLivII43Gi0=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "32d889f9b9fc65cb65aa2d5db282d60ed06f348e",
"rev": "784981a9feeba406de38c1c9a3decf966d853cca",
"type": "github"
},
"original": {

View file

@ -1,11 +1,11 @@
{ lib, unstable, config, ... }:
{ lib, pkgs, config, ... }:
let
cfg = config.profile.hyprland;
in
{
config = lib.mkIf cfg.enable {
home.packages = [
unstable.hyprlock
pkgs.hyprlock
];
home.file.".config/hypr/hyprlock.conf".text =
@ -60,7 +60,7 @@ in
color = rgba(200, 200, 200, 1.0)
font_size = 55
font_family = Fira Semibold
position = -100, 25
position = -100, 75
halign = right
valign = bottom
shadow_passes = 5