diff --git a/nixos/hosts/live.nix b/nixos/hosts/live.nix index ecea4cd..2699047 100644 --- a/nixos/hosts/live.nix +++ b/nixos/hosts/live.nix @@ -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