From d7b2a034aac44c83098ee098c1479e75dc0578da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Sun, 7 Jul 2024 11:18:41 +0300 Subject: NixOS: bump to 24.05 - remove hopenpgp-tools (as per README) - add dirmgr - add rng-tools --- flake.lock | 8 ++++---- flake.nix | 15 +++++++++------ 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 -- cgit v1.2.3