pkgs: Add tlock

This commit is contained in:
Sweetbread 2024-11-17 00:43:56 +03:00
parent a9e62be3ef
commit 61af9a6102
3 changed files with 72 additions and 2 deletions

70
flake.lock generated
View File

@ -141,6 +141,24 @@
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1714641030,
"narHash": "sha256-yzcRNDoyVP7+SCNX0wmuDju1NUCt8Dz9+lyUXEI0dbI=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": [
@ -252,6 +270,18 @@
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1714640452,
"narHash": "sha256-QBx10+k6JWz6u7VsohfSw8g8hjdBZEf8CFzXH1/1Z94=",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/50eb7ecf4cd0a5756d7275c8ba36790e5bd53e33.tar.gz"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1731652201,
@ -348,6 +378,22 @@
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1715534503,
"narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"ags": "ags",
@ -356,7 +402,8 @@
"nixpkgs": "nixpkgs_3",
"nixpkgs-stable": "nixpkgs-stable",
"sops-nix": "sops-nix",
"stylix": "stylix"
"stylix": "stylix",
"tlock": "tlock"
}
},
"sops-nix": {
@ -472,6 +519,27 @@
"repo": "tinted-tmux",
"type": "github"
}
},
"tlock": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1716429453,
"narHash": "sha256-6raIb7D7B/KQtKy63ixVRAJ7AN30JI7w/XGI2W8fuRk=",
"ref": "refs/heads/main",
"rev": "5091452ae294c4b424293ae4ffdcdbc8f04601fb",
"revCount": 343,
"submodules": true,
"type": "git",
"url": "https://github.com/eklairs/tlock"
},
"original": {
"submodules": true,
"type": "git",
"url": "https://github.com/eklairs/tlock"
}
}
},
"root": "root",

View File

@ -9,6 +9,7 @@
stylix.url = "github:danth/stylix";
ags.url = "github:Aylur/ags";
ayugram-desktop.url = "github:/ayugram-port/ayugram-desktop/release?submodules=1";
tlock.url = "git+https://github.com/eklairs/tlock?submodules=1";
home-manager = {
url = "github:nix-community/home-manager";

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, inputs, ... }: {
home.packages = with pkgs; [
scrot
ffmpeg
@ -9,5 +9,6 @@
imv
gromit-mpx
notify-desktop
inputs.tlock.packages.${system}.default
];
}