mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 03:37:18 +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,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
modulesPath,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/cd-dvd/iso-image.nix")
|
||||||
|
(modulesPath + "/profiles/minimal.nix")
|
||||||
|
(modulesPath + "/profiles/installation-device.nix")
|
||||||
|
];
|
||||||
networking.hostName = "nixos-live";
|
networking.hostName = "nixos-live";
|
||||||
|
|
||||||
isoImage.makeEfiBootable = true;
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
curl
|
curl
|
||||||
ddrescue
|
ddrescue
|
||||||
|
|
Loading…
Add table
Reference in a new issue