niximg: fix nixos user
This commit is contained in:
parent
8d8ae7ec7b
commit
fe0e81b72e
@ -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 = "";
|
|
||||||
}
|
}
|
||||||
|
@ -8,9 +8,4 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# to avoid zsh startup message
|
|
||||||
home-manager.users.nrd.home.file.".zshrc" = ''
|
|
||||||
#
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user