feature: Adds README.
This commit is contained in:
parent
8f9e59a758
commit
c8d78b5e00
2 changed files with 5 additions and 6 deletions
|
@ -62,15 +62,11 @@ in {
|
||||||
(pkgs.lib.mkAfter ["mdns4"]) # after dns
|
(pkgs.lib.mkAfter ["mdns4"]) # after dns
|
||||||
]);
|
]);
|
||||||
|
|
||||||
users.users.greysoh = {
|
users.users.clusteradm = {
|
||||||
initialPassword = "1234";
|
initialPassword = "1234";
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["sudoer" "wheel" "docker"];
|
extraGroups = ["sudoer" "wheel" "docker"];
|
||||||
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDgQP14EBe0r9QnLnDy00vMhlmmo62FJnY/MqNMm0K3qQZTQSkRaBsSYHI10KcLlPEwe266opLOirLG+O0xYDi192hm+vSVfa921r1Dva0on22D5mIKg9Zx50csOTduXngnAnFnlX/W7J0zJAjcFMMTU/wCXZA50KP5a86BJzHb3lErD18cb7h8E5QhasMmEwe5kkJVB2Ys8rZqZTn8XNZ8+7Dv0RUSqMpNkVhI3U+Xcl8Q7wP8Bm6lyYkI53Wlicz2VOssfUlQA0Y2AifJDlXKK6QFDVQ9nE4qCCjiOYtkz1mIepMXxfTY1vV7RUrBHbzEIeYt8TfSuYpB/0mcnGTUHwvQBlNPwZMCxPYPxaPqYm/amb4DfhgU2m8nEAZEfC4KC/z6PBN8JPMb8NthXsSalpXsjmKjhLU4SsBvrm3y/diAS2hs6Fo2bcHg0a5qNw7nL/WFagK9fUyvQY/rAzIdbfL2ZL59Aul/nqz8dWQMdZbND1DORKzxW6lmbBqZPL8= root@zeus-proxmox"
|
|
||||||
];
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
|
|
|
@ -4,10 +4,13 @@
|
||||||
# To get started:
|
# To get started:
|
||||||
# 1. Copy this file to 'secrets.nix'
|
# 1. Copy this file to 'secrets.nix'
|
||||||
# 2. Run uuidgen (or some other algorithm) to generate a shared secret, and replace services.k3s.token's value with that
|
# 2. Run uuidgen (or some other algorithm) to generate a shared secret, and replace services.k3s.token's value with that
|
||||||
# 3. Profit!
|
# 3. Copy your SSH key(s) into the authorized_keys section.
|
||||||
|
# 4. Profit!
|
||||||
|
|
||||||
let
|
let
|
||||||
pkgs = import <nixpkgs> {};
|
pkgs = import <nixpkgs> {};
|
||||||
in {
|
in {
|
||||||
services.k3s.token = "shared.secret.here";
|
services.k3s.token = "shared.secret.here";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Reference in a new issue