diff --git a/components/nixos/boot/ssh.nix b/components/nixos/boot/ssh.nix index dbeb6e0..ce5bb98 100644 --- a/components/nixos/boot/ssh.nix +++ b/components/nixos/boot/ssh.nix @@ -19,7 +19,7 @@ with types; config = mkIf (config.components.nixos.boot.ssh.enable) { # root password - clan.core.facts.services.rootPassword = factsGenerator.password { name = "root"; }; + #clan.core.facts.services.rootPassword = factsGenerator.password { name = "root"; }; #users.users.root.hashedPasswordFile = config.clan.core.facts.services.rootPassword.secret."password.root.pam".path; # fixme not working for some reason #users.users.root.initalPassword = "admin"; diff --git a/flake.nix b/flake.nix index d70d22f..accf7a2 100644 --- a/flake.nix +++ b/flake.nix @@ -246,12 +246,8 @@ # configure nix ({ pkgs, lib, clanLib, ... }: { - nix.settings.substituters = [ - "http://cache.orbi.wg0" - ]; - nix.settings.trusted-public-keys = [ - (clanLib.readFact "nix-serve.pub" "orbi") - ]; + #nix.settings.substituters = [ "http://cache.orbi.wg0" ]; + #nix.settings.trusted-public-keys = [ (clanLib.readFact "nix-serve.pub" "orbi") ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.max-jobs = 1; # no channesl needed this way @@ -485,7 +481,7 @@ srvos.nixosModules.hardware-hetzner-cloud srvos.nixosModules.server srvos.nixosModules.mixins-terminfo - inputs.clan-core.clanModules.sshd + #inputs.clan-core.clanModules.sshd { home-manager.users.mainUser = import ./homes/palo; home-manager.users.root = import ./homes/root; diff --git a/machines/probe/configuration.nix b/machines/probe/configuration.nix index 5942902..259636a 100644 --- a/machines/probe/configuration.nix +++ b/machines/probe/configuration.nix @@ -11,6 +11,7 @@ components.network.enable = true; components.nixos.boot.enable = true; + components.nixos.boot.ssh.enable = true; networking.hostName = "probe"; users.users.root.openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJkqVvuJSvRMO5pG2CHNNBxjB7HlJudK4TQs3BhbOWOD" ]; diff --git a/machines/probe/hardware-configuration/hetzner.nix b/machines/probe/hardware-configuration/hetzner.nix index a42575c..fcb87dd 100644 --- a/machines/probe/hardware-configuration/hetzner.nix +++ b/machines/probe/hardware-configuration/hetzner.nix @@ -1,7 +1,7 @@ { systemd.network.enable = true; systemd.network.networks."10-private-hetzner" = { - matchConfig.Name = "en*"; + matchConfig.Name = "e*"; networkConfig.DHCP = "ipv4"; linkConfig.RequiredForOnline = "routable"; };