kartei lass: remove legacy keys
This commit is contained in:
parent
353875a416
commit
5cc5e2d1e6
@ -25,36 +25,11 @@ in {
|
||||
inherit (slib) krebs;
|
||||
})
|
||||
);
|
||||
users = rec {
|
||||
lass = lass-yubikey;
|
||||
lass-yubikey = {
|
||||
users = {
|
||||
lass = {
|
||||
mail = "lass@green.r";
|
||||
pubkey = builtins.readFile ./ssh/yubikey.rsa;
|
||||
pgp.pubkeys.default = builtins.readFile ./pgp/yubikey.pgp;
|
||||
};
|
||||
lass-blue = {
|
||||
mail = "lass@blue.r";
|
||||
pubkey = builtins.readFile ./ssh/blue.rsa;
|
||||
};
|
||||
lass-green = {
|
||||
mail = "lass@green.r";
|
||||
pubkey = builtins.readFile ./ssh/green.ed25519;
|
||||
};
|
||||
lass-red = {
|
||||
mail = "lass@red.r";
|
||||
pubkey = builtins.readFile ./ssh/red.ed25519;
|
||||
};
|
||||
lass-mors = {
|
||||
mail = "lass@mors.r";
|
||||
pubkey = builtins.readFile ./ssh/mors.rsa;
|
||||
pgp.pubkeys.default = builtins.readFile ./pgp/mors.pgp;
|
||||
};
|
||||
lass-android = {
|
||||
mail = "lassulus@gmail.com";
|
||||
pubkey = builtins.readFile ./ssh/android.ed25519;
|
||||
};
|
||||
lass-tablet = {
|
||||
pubkey = builtins.readFile ./ssh/tablet.ed25519;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -48,9 +48,7 @@ with import ../../lib/pure.nix { inherit lib; };
|
||||
|
||||
users.mutableUsers = false;
|
||||
users.extraUsers.root.openssh.authorizedKeys.keys = [
|
||||
config.krebs.users.jeschli-brauerei.pubkey
|
||||
config.krebs.users.lass.pubkey
|
||||
config.krebs.users.lass-mors.pubkey
|
||||
config.krebs.users.makefu.pubkey
|
||||
config.krebs.users.tv.pubkey
|
||||
config.krebs.users.kmein.pubkey
|
||||
|
@ -7,9 +7,7 @@
|
||||
enable = true;
|
||||
port = 22;
|
||||
authorizedKeys = [
|
||||
config.krebs.users.jeschli-brauerei.pubkey
|
||||
config.krebs.users.lass.pubkey
|
||||
config.krebs.users.lass-mors.pubkey
|
||||
config.krebs.users.makefu.pubkey
|
||||
config.krebs.users.tv.pubkey
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user