aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMotiejus Jakštys <motiejus@jakstys.lt>2024-07-07 11:18:41 +0300
committerMotiejus Jakštys <motiejus@jakstys.lt>2024-07-07 11:19:21 +0300
commitd7b2a034aac44c83098ee098c1479e75dc0578da (patch)
tree4c1f8c3e020ba37b97c198222461c01f9b389b18
parentMerge pull request #447 from drduh/wip-30jun24 (diff)
downloadYubiKey-Guide-d7b2a034aac44c83098ee098c1479e75dc0578da.tar.gz
NixOS: bump to 24.05
- remove hopenpgp-tools (as per README) - add dirmgr - add rng-tools
-rw-r--r--flake.lock8
-rw-r--r--flake.nix15
2 files changed, 13 insertions, 10 deletions
diff --git a/flake.lock b/flake.lock
index bf452f1..6d6b0f5 100644
--- a/flake.lock
+++ b/flake.lock
@@ -18,16 +18,16 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1706826059,
- "narHash": "sha256-N69Oab+cbt3flLvYv8fYnEHlBsWwdKciNZHUbynVEOA=",
+ "lastModified": 1720110830,
+ "narHash": "sha256-E5dN9GDV4LwMEduhBLSkyEz51zM17XkWZ3/9luvNOPs=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "25e3d4c0d3591c99929b1ec07883177f6ea70c9d",
+ "rev": "c0d0be00d4ecc4b51d2d6948e37466194c1e6c51",
"type": "github"
},
"original": {
"owner": "NixOS",
- "ref": "nixos-23.11",
+ "ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
diff --git a/flake.nix b/flake.nix
index b526a13..a814b87 100644
--- a/flake.nix
+++ b/flake.nix
@@ -2,7 +2,7 @@
description = "A Nix Flake for an xfce-based system with YubiKey setup";
inputs = {
- nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
+ nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
drduhConfig.url = "github:drduh/config";
drduhConfig.flake = false;
};
@@ -129,7 +129,7 @@
enable = true;
virtualHosts."diceware.local" = {
listen = [
- {
+ {
addr = dicewareAddress;
port = dicewarePort;
}
@@ -153,9 +153,12 @@
preferencesStatus = "user";
};
ssh.startAgent = false;
- gnupg.agent = {
- enable = true;
- enableSSHSupport = true;
+ gnupg = {
+ dirmngr.enable = true;
+ agent = {
+ enable = true;
+ enableSSHSupport = true;
+ };
};
};
@@ -196,12 +199,12 @@
# Testing
ent
- haskellPackages.hopenpgp-tools
# Password generation tools
diceware
dicewareWebApp
pwgen
+ rng-tools
# Might be useful beyond the scope of the guide
cfssl