Remove references to username in NixOS configuration
This commit is contained in:
parent
da3e3e621e
commit
089436e641
2 changed files with 2 additions and 5 deletions
|
@ -48,6 +48,7 @@ in {
|
|||
facter.reportPath = ./facter.json;
|
||||
home-manager.users.pim.imports = [./home.nix];
|
||||
networking.hostName = "sue";
|
||||
nix.settings.trusted-users = ["pim"];
|
||||
|
||||
sops = {
|
||||
age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||
|
|
|
@ -89,8 +89,6 @@
|
|||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
# TODO: "pim" shouldn't be here by default
|
||||
settings.trusted-users = ["root" "pim"];
|
||||
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
|
@ -145,9 +143,7 @@
|
|||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {inherit self inputs;};
|
||||
|
||||
# TODO: shouldn't be here by default
|
||||
users.pim.imports = ["${self}/home-manager"];
|
||||
sharedModules = ["${self}/home-manager"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue