From 555affc0e10719b4a0c343a3c46b59431b8d6987 Mon Sep 17 00:00:00 2001 From: halbg0tt Date: Fri, 3 Jul 2026 21:09:07 +0200 Subject: [PATCH] add /etc/nixos to safe directory --- modules/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/shell.nix b/modules/shell.nix index b400c3f..33a4512 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -47,6 +47,10 @@ }; }; }; + extraConfig = { + init.defaultBranch = "main"; + safe.directory = "/etc/nixos"; + }; }; tmux = { enable = true;