Add the root user
This commit is contained in:
parent
be16f79ac4
commit
1428569431
1 changed files with 15 additions and 1 deletions
|
@ -20,4 +20,18 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue