summaryrefslogtreecommitdiffstats
path: root/lass/2configs/default.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-25 16:23:03 +0200
committerlassulus <lassulus@lassul.us>2021-10-25 16:23:03 +0200
commit0442dacdb75099c639191521f926d349aea16a45 (patch)
treee133c141264422cc8cf18103d61336337405bed6 /lass/2configs/default.nix
parent11d70bd4bf722beb805a3bbdff92a358b1d29898 (diff)
l: deprecate mors key
Diffstat (limited to 'lass/2configs/default.nix')
-rw-r--r--lass/2configs/default.nix15
1 files changed, 3 insertions, 12 deletions
diff --git a/lass/2configs/default.nix b/lass/2configs/default.nix
index 1bcfb162c..5a9428322 100644
--- a/lass/2configs/default.nix
+++ b/lass/2configs/default.nix
@@ -19,10 +19,9 @@ with import <stockholm/lib>;
users.extraUsers = {
root = {
openssh.authorizedKeys.keys = [
- config.krebs.users.lass-mors.pubkey
+ config.krebs.users.lass.pubkey
config.krebs.users.lass-blue.pubkey
config.krebs.users.lass-green.pubkey
- config.krebs.users.lass-yubikey.pubkey
];
};
mainUser = {
@@ -35,25 +34,17 @@ with import <stockholm/lib>;
isNormalUser = true;
extraGroups = [
"audio"
+ "video"
"fuse"
"wheel"
];
openssh.authorizedKeys.keys = [
- config.krebs.users.lass-mors.pubkey
+ config.krebs.users.lass.pubkey
config.krebs.users.lass-blue.pubkey
config.krebs.users.lass-green.pubkey
- 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 = {