summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-09-27 15:33:14 +0200
committerlassulus <lassulus@lassul.us>2020-09-27 15:33:14 +0200
commite73200db951ebd2fb891b0656f2d9c7fc76f4cc3 (patch)
tree4a576e51231d8262362a0781f14cfeba0bfdaf11 /lass/2configs
parent5b44319083e8ae5386e181d73b1585be8ecd4a35 (diff)
l: add nix user to all systems
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index ae2754c96..e4996743d 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -44,7 +44,15 @@ with import <stockholm/lib>;
config.krebs.users.lass-yubikey.pubkey
];
};
+ nix = {
+ isNormalUser = true;
+ uid = genid_uint31 "nix";
+ openssh.authorizedKeys.keys = [
+ config.krebs.hosts.mors.ssh.pubkey
+ ];
+ };
};
+ nix.trustedUsers = ["nix"];
}
{
environment.variables = {