diff --git a/hosts/niximg.nix b/hosts/niximg.nix index ba934340..61fbb22a 100644 --- a/hosts/niximg.nix +++ b/hosts/niximg.nix @@ -1,9 +1,13 @@ { modulesPath, ... }: { - imports = - [ ../profiles/develop "${modulesPath}/installer/cd-dvd/iso-image.nix" ]; + imports = [ + # 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.makeUsbBootable = true; networking.networkmanager.enable = true; - users.users.root.password = ""; } diff --git a/users/nixos/default.nix b/users/nixos/default.nix index 9ce867a1..8d711f70 100644 --- a/users/nixos/default.nix +++ b/users/nixos/default.nix @@ -8,9 +8,4 @@ isNormalUser = true; extraGroups = [ "wheel" ]; }; - - # to avoid zsh startup message - home-manager.users.nrd.home.file.".zshrc" = '' - # - ''; }