Skip to content

Commit

Permalink
update ssh & remove reduntant ssh features
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Oct 19, 2023
1 parent b069216 commit aecd511
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion modules/common/core/system/os/users/isabel.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...
}: let
keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC3AeKdY2eQmK78Ll3bms8yxmqe7BPWMph+QLZ2Fy33XGVDyxTSAK3LJWwfEmjEoQE/4UiFxnrzslrIsIuRYV//tV+aPfmyoBkAxbaWaJ3aujZYGpxD86MtnFwdfNRcl2fKJnTbPSAY0VM5p08A/eNe40WVwXAbXFHyJLbMn5Se1WGuZrWOtoD9reVjRNOh1EkpZVrbjv3rWpK4SDcJCdA9dGxxVXMsy7ErIOzit/g/4IQ+F8zEQRRbSToZYCU2+bFQP5Y1ujPMCxwtYfNEq0rrvgI73ejwhJAdjRHoKv2q8qN9HzYLm3nVipcj6mpV9T3ENHpKuyz1oB735lUh7vcJzu+cgix91RO3bKUtQ0yaUc1nogf8pceGTCbByHxy0qeNy9IgXfW1ZMJ7H1GttzUIsa4q1HLmj1MfbSvbdP4uU+gLflZgm1/9+N0IA4md4Ljpwgik9CsaVucaC/0vPnzASVTrvpMDNu/TlKLytdLKpbQ6Yk1YZPvUbVUZ3xfvJOE= isabel"
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFEtTMRG9pfuOjlLmq/NybTZCIKL66tLNSM4CBILYda3 isabel''
];
in {
boot.initrd.network.ssh.authorizedKeys = keys;
Expand Down
2 changes: 1 addition & 1 deletion modules/common/core/system/os/users/root.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ _: {
initialPassword = "changeme";

openssh.authorizedKeys.keys = [
''ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDZmzCZrKIdTSUf1GFWB9bF2nDRfjdWI4+jfcZbsscsSdNHBBaYnDjQftj8lVUMmSzjKasIeU3yKmuai6t2GBnIfxZq+5L/uvIZhYfgJwcjhLkXZL2CCG1UtxFV6Gwe2RJWA7VrGzhfU+Kjx6O7oCKlwy0M6cknUU+G17rqoGlOwDtMiDR+as6UoxeEf//xIdvBdEb3A+JGo4WVx1+/8XedKM5ngyY0zH6vKb12kudVMjJsqQ4cES8JozuL4LMEExsPRALPVGYQ69ulMLl4zkbbP2Ne5UO9Uf/BsBF2DJU3uWVIG6nAUIeNr4NXaa7h4/cnlpP+f4H/7MvOeif85TYU2WK+yiy11z7N6wxbB1/Mtq2sMldMq3Csb7A0GkeF1qXazG0yp4Oa0sene0JfPI3AsYSFOHuByVRkb6kI3f+d/xogwoLJ645olZLcobsqWoS4TQZHj44CTRseXzCQiUGBKV9Bb/7hqY7TbcwRd7cEW91lbXIzO6PUDhi1E59VqYE=''
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFEtTMRG9pfuOjlLmq/NybTZCIKL66tLNSM4CBILYda3''
];
};
}
12 changes: 0 additions & 12 deletions modules/common/secrets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,6 @@ in {
path = sshDir + "/nixos.pub";
owner = mainUser;
};

# my local servers / clients
/*
alpha-key = {
path = sshDir + "/alpha";
owner = mainUser;
};
alpha-key-pub = {
path = sshDir + "/alpha.pub";
owner = mainUser;
};
*/
};
};
}
Loading

0 comments on commit aecd511

Please sign in to comment.