From 47b0ffed69c0861c1dac3e48944b3bc8629afbb9 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Fri, 13 Dec 2024 19:28:44 +0100 Subject: [PATCH] Add root password for `sisko` Useful when connecting through the serial cable --- hosts/sisko/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/sisko/default.nix b/hosts/sisko/default.nix index 65c5e0b..41ccfd3 100644 --- a/hosts/sisko/default.nix +++ b/hosts/sisko/default.nix @@ -75,6 +75,8 @@ serviceConfig.restart = "always"; }; + users.users.root.hashedPassword = "$y$j9T$mLSUS2hvJdN3s8f9Y3uLE0$sYQtJdn4DuSAZnDkhSsV0WIxNdpuqlH7ODNy1RfuRp4"; + environment.persistence."/persist" = { hideMounts = true; directories = [