diff --git a/nixos/device.nix b/nixos/device.nix index c2f2e37f..5ec18c16 100644 --- a/nixos/device.nix +++ b/nixos/device.nix @@ -37,6 +37,16 @@ builtins.listToAttrs (builtins.map (device: { ] ++ nixpkgs.lib.optionals device.live [ (nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix") + ({pkgs, ...}: { + systemd.services.sshd.wantedBy = pkgs.lib.mkForce ["multi-user.target"]; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILdV/cFR8ENy4vCHnK/dL+Ud7jOJV7+iLeAe8y5nj3xF email@uttarayan.me" + ]; + networking = { + # usePredictableInterfaceNames = false; + nameservers = ["1.1.1.1"]; + }; + }) ]; }; })