]> Repositories - machines.git/blobdiff - levanter/configuration.nix
Configure Git server
[machines.git] / levanter / configuration.nix
index 79ff33082f7956a915681aae4577f62fa35a7448..ef0c420063b1e3c2452bdc0e0ef28e1dafbbbcd9 100644 (file)
@@ -1,8 +1,9 @@
-{ device, hostname, ... }: {
+{ device, hostname, ayo_public_key, ... }: {
        imports = [
                ./hardware-configuration.nix
                ./disko.nix
                ./komuhn-website.nix
        imports = [
                ./hardware-configuration.nix
                ./disko.nix
                ./komuhn-website.nix
+               ./git-server.nix
        ];
 
        boot.loader.grub = {
        ];
 
        boot.loader.grub = {
                users."ayo" = {
                        isNormalUser = true;
                        extraGroups = [ "wheel" ];
                users."ayo" = {
                        isNormalUser = true;
                        extraGroups = [ "wheel" ];
-
-                       openssh.authorizedKeys.keys = [
-                               "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIeBrQONJC4u4M0/gYhsMMcVxs+mVlk5bmT7vtReEyK7 ayo@monsoon"
-                       ];
+                       openssh.authorizedKeys.keys = [ ayo_public_key ];
                };
        };
 
                };
        };