Add dw
This commit is contained in:
parent
8a41ab75ae
commit
1a8cfbbfb6
|
@ -1,4 +1,4 @@
|
|||
{pkgs, lib, ...}: {
|
||||
{pkgs, lib, ...} @ nixpkgs: {
|
||||
imports = [ ../modules/parallel.nix ];
|
||||
home.sessionVariables = {
|
||||
NNN_FIFO = "/tmp/nnn.fifo";
|
||||
|
@ -7,7 +7,7 @@
|
|||
};
|
||||
home.keyboard.layout = "us";
|
||||
home.keyboard.variant = "3l";
|
||||
home.packages = with pkgs; [
|
||||
home.packages = with pkgs; with (import ../packages/all-packages.nix nixpkgs); [
|
||||
restic
|
||||
ripgrep
|
||||
rclone
|
||||
|
@ -17,6 +17,7 @@
|
|||
qrencode
|
||||
libwebp
|
||||
bat
|
||||
dw
|
||||
] ++ (import ../system/home-manager.nix).extraPackages pkgs;
|
||||
editorconfig = {
|
||||
enable = true;
|
||||
|
|
3
packages/all-packages.nix
Normal file
3
packages/all-packages.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{pkgs, ...}: {
|
||||
dw = pkgs.callPackage ./dw.nix {};
|
||||
}
|
26
packages/dw.nix
Normal file
26
packages/dw.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{pkgs, lib, ...}: pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "dw";
|
||||
version = "0.1.0";
|
||||
|
||||
src = pkgs.fetchFromGitea {
|
||||
domain = "fem.mint.lgbt";
|
||||
owner = "Emi";
|
||||
repo = "password-script";
|
||||
rev = "v0.1.0";
|
||||
sha256 = "0w/MOHG7oe1TZEiFmSOk+o34uxArF2DCjns7Tb6l9sw=";
|
||||
};
|
||||
|
||||
cargoSha256 = "0oVTwNrE3Qoz+K+daBUwVKCKUxJkodqQYMz0TT4FpHg=";
|
||||
|
||||
meta = {
|
||||
description = "A simple diceware script, with defaults picked by Emi";
|
||||
homepage = "https://fem.mint.lgbt/Emi/password-script";
|
||||
#license = lib.licenses.cc-by-nc-40;
|
||||
maintainers = [{
|
||||
email = "ember@corviform.gay";
|
||||
github = "Alch-Emi";
|
||||
githubId = 38897201;
|
||||
name = "Ember Hearth";
|
||||
}];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue