wip (works)
This commit is contained in:
parent
cd1d0c7e74
commit
1a8ae5ded2
4 changed files with 6 additions and 9 deletions
|
@ -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";
|
||||
|
||||
|
|
10
flake.nix
10
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;
|
||||
|
|
|
@ -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" ];
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue