Changes live.nix to use nixos builtin modules

This commit is contained in:
willemml 2023-11-06 11:42:13 -08:00
parent bcaf783f5d
commit 7bf7a551fb
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD

View file

@ -2,26 +2,18 @@
pkgs,
lib,
config,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/cd-dvd/iso-image.nix")
(modulesPath + "/profiles/minimal.nix")
(modulesPath + "/profiles/installation-device.nix")
];
networking.hostName = "nixos-live";
isoImage.makeEfiBootable = true;
documentation.nixos.enable = true;
users.users.willem.initialHashedPassword = "";
users.users.root.initialHashedPassword = "";
security.sudo = {
enable = true;
wheelNeedsPassword = false;
};
services.getty.autologinUser = "willem";
services.openssh.enable = true;
environment.systemPackages = with pkgs; [
curl
ddrescue