summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-11-24 00:17:15 +0100
committerMathias Magnusson <mathias@magnusson.space>2025-11-24 00:17:15 +0100
commit73d5aef95464b7046cf4c3e0e2ddfe6160f16090 (patch)
tree6e62cd47d5f3e582ec594f6a9ef041818a676828
parent5754980e3456e036add38f516115971c6411e93b (diff)
downloadoden-73d5aef95464b7046cf4c3e0e2ddfe6160f16090.tar.gz
make root user loginable
-rw-r--r--configuration.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 47ebf0d..7409f1d 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -48,6 +48,7 @@
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLZ6OVyjTvWx9gvS+/DvkQW5VvLBbykq/0AV5mYDLADDtIOaDVscQ3lGOcUsga1ODNSl14MSV63bE8VtHfG1HOc="
];
};
+ users.users.root.hashedPasswordFile = config.age.secrets."password-hash.txt".path;
age.secrets."password-hash.txt".file = ./secrets/password-hash.txt.age;
virtualisation.docker.enable = true;