From f068155c190d9b0f3c0b3b02180511a8c703f4b8 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 27 Jun 2024 16:34:58 +0300 Subject: [PATCH] Root : Fix common setup. --- user/Root.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/user/Root.nix b/user/Root.nix index 4c7b1b6..9116149 100644 --- a/user/Root.nix +++ b/user/Root.nix @@ -1,16 +1,7 @@ -{ const -, util -, style -, pkgs -, config -, key -, secret -, ... } @args: { - imports = [ - ./common - ]; +{ secret, ... }: { + imports = [ ./common ]; - # user.common.users = [{ name = "root"; homeDir = "/root"; }]; + user.common.users = [{ name = "root"; homeDir = "/root"; }]; users.users.root.hashedPassword = secret.hashedPassword; security.sudo = { enable = false;