From b9dddd785529a8cf48f75519c0a2da69dd4b89df Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 25 Aug 2024 18:29:17 +0000 Subject: [PATCH] nixosMod/allCommon: enable git always not correctly referenced dependency of nix & nixos-modules when using with flakes --- nix/nixos-modules/allCommon.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/nixos-modules/allCommon.nix b/nix/nixos-modules/allCommon.nix index d0e85bb..b7f7ff2 100644 --- a/nix/nixos-modules/allCommon.nix +++ b/nix/nixos-modules/allCommon.nix @@ -93,6 +93,9 @@ in # well-known public keys programs = { + # for nixos-rebuild with flakes + git.enable = true; + ssh = { hostKeyAlgorithms = [ "ssh-ed25519"