nixfleet/users/root/default.nix
Andrea Ciceri 3411b09ab0
Things
- lockfile updated
- Working with Hydra
- Emacs packages
- Workaround for nix/git
2022-06-05 14:51:20 +02:00

19 lines
453 B
Nix

{ pkgs, ... }:
# recommend using `hashedPassword`
{
users.users.root = {
password = "nixos";
shell = pkgs.zsh;
};
# FIXME: (temporary?) workaround for https://github.com/NixOS/nixpkgs/issues/169193
home-manager.users.ccr.programs.git = {
enable = true;
extraConfig.safe.directory = "/home/ccr/fleet";
};
home-manager.users.root.programs.git = {
enable = true;
extraConfig.safe.directory = "/home/ccr/fleet";
};
}