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;
|
facter.reportPath = ./facter.json;
|
||||||
home-manager.users.pim.imports = [./home.nix];
|
home-manager.users.pim.imports = [./home.nix];
|
||||||
networking.hostName = "sue";
|
networking.hostName = "sue";
|
||||||
|
nix.settings.trusted-users = ["pim"];
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = "/root/.config/sops/age/keys.txt";
|
age.keyFile = "/root/.config/sops/age/keys.txt";
|
||||||
|
|
|
@ -89,8 +89,6 @@
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
# TODO: "pim" shouldn't be here by default
|
|
||||||
settings.trusted-users = ["root" "pim"];
|
|
||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
@ -145,9 +143,7 @@
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {inherit self inputs;};
|
extraSpecialArgs = {inherit self inputs;};
|
||||||
|
sharedModules = ["${self}/home-manager"];
|
||||||
# TODO: shouldn't be here by default
|
|
||||||
users.pim.imports = ["${self}/home-manager"];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue