This commit is contained in:
Emi Simpson 2023-03-15 22:14:27 -04:00
parent 8a41ab75ae
commit 1a8cfbbfb6
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
3 changed files with 32 additions and 2 deletions

View File

@ -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;

View File

@ -0,0 +1,3 @@
{pkgs, ...}: {
dw = pkgs.callPackage ./dw.nix {};
}

26
packages/dw.nix Normal file
View 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";
}];
};
}