niximg: fix nixos user

This commit is contained in:
Timothy DeHerrera 2020-01-11 00:24:12 -07:00
parent 8d8ae7ec7b
commit fe0e81b72e
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
2 changed files with 7 additions and 8 deletions

View file

@ -1,9 +1,13 @@
{ modulesPath, ... }: { { modulesPath, ... }: {
imports = imports = [
[ ../profiles/develop "${modulesPath}/installer/cd-dvd/iso-image.nix" ]; # passwd is nixos by default
../users/nixos
# passwd is empty by default
../users/root
"${modulesPath}/installer/cd-dvd/iso-image.nix"
];
isoImage.makeEfiBootable = true; isoImage.makeEfiBootable = true;
isoImage.makeUsbBootable = true; isoImage.makeUsbBootable = true;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
users.users.root.password = "";
} }

View file

@ -8,9 +8,4 @@
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
}; };
# to avoid zsh startup message
home-manager.users.nrd.home.file.".zshrc" = ''
#
'';
} }