mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 19:27:17 +00:00
Changes live.nix to use nixos builtin modules
This commit is contained in:
parent
bcaf783f5d
commit
7bf7a551fb
1 changed files with 6 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue