Skip to content

Commit 3a8573f

Browse files
committed
hosts/bastille: fix root password warning
1 parent 3845c0b commit 3a8573f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

hosts/bastille/blade.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ modulesPath, pkgs, ... }: {
1+
{ modulesPath, pkgs, lib, ... }: {
22
imports = [
33
(import ../common/k3s.nix {})
44
../common/nix.nix
@@ -7,6 +7,10 @@
77
(modulesPath + "/installer/netboot/netboot-minimal.nix")
88
];
99

10+
# when making the ISO, the initialHashedPassword is set to "" for some reason
11+
# we already set a hashed password, so null this
12+
users.users.root.initialHashedPassword = lib.mkForce null;
13+
1014
environment.systemPackages = [
1115
pkgs.fastfetch
1216
];

0 commit comments

Comments
 (0)