From 14285694316c921db2c053326208a54ffd590789 Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 29 Jun 2023 22:02:12 +0900 Subject: [PATCH] Add the root user --- laptop/home-manager.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/laptop/home-manager.nix b/laptop/home-manager.nix index b3584351..52537e68 100644 --- a/laptop/home-manager.nix +++ b/laptop/home-manager.nix @@ -20,4 +20,18 @@ in }; }; }; -} \ No newline at end of file + + home-manager.users.root = { + /* The home.stateVersion option does not have a default and must be set */ + home.stateVersion = "23.05"; + /* Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ]; */ + programs.git = { + enable = true; + userName = "albert"; + userEmail = "albert@sysctl.io"; + extraConfig = { + config.credential.helper = "cache --timeout=25920000"; + }; + }; + }; +}