From 16143e4821cbadcf6f3076ece71940eeb85b800e Mon Sep 17 00:00:00 2001 From: Leonardo Date: Tue, 17 Mar 2026 10:38:53 +0100 Subject: nixos-anywhere config --- systems/nixos-anywhere/configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 systems/nixos-anywhere/configuration.nix (limited to 'systems/nixos-anywhere/configuration.nix') diff --git a/systems/nixos-anywhere/configuration.nix b/systems/nixos-anywhere/configuration.nix new file mode 100644 index 0000000..46aedb8 --- /dev/null +++ b/systems/nixos-anywhere/configuration.nix @@ -0,0 +1,22 @@ +{modulesPath, pkgs, ...} @ args: +{ + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/profiles/qemu-guest.nix") + ./disk-config.nix + ]; + + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + }; + + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMjRcsulH/b/fVyj+YQi3YchW6wLiWvpgiM+iz4tokSD leo@hermes" + ] ++ (args.extraPublicKeys or []); + + environment.systemPackages = with pkgs; [ curl gitMinimal ]; + + system.stateVersion = "25.05"; +} -- cgit v1.3