Skip to content

Commit 3fe3711

Browse files
committed
Moves root password into default-config, adds .nix suffix
1 parent 00495cf commit 3fe3711

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
services.openssh.permitRootLogin = "yes";
2+
users.extraUsers.root.password = "nixos";

install

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ checksum=$minimal_checksum
6060
minimal_space=3
6161
graphical_space=5
6262
required_space=$minimal_space
63-
extra_config=$(readlink -f default-extra-config)
63+
extra_config=$(readlink -f default-extra-config.nix)
6464
digitalocean=false
6565

6666
while getopts ":g:r:t:Gdw:c:h" opt; do

stage2

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ cat <<EOF > /nixos/etc/nixos/nixos-in-place.nix
7070
fsType = "$root_type";
7171
};
7272
};
73-
users.extraUsers.root.password = "nixos";
7473
$digitalocean_configs
7574
$(cat /nixos/extra-config)
7675
}

0 commit comments

Comments
 (0)