From bb224a492bd20137f876172fdffacf06eceec65c Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Fri, 11 Jul 2025 21:22:21 +0000 Subject: [PATCH] Retab configuration.nix --- nixos-anywhere/configuration.nix | 52 ++++++++++++++++---------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/nixos-anywhere/configuration.nix b/nixos-anywhere/configuration.nix index 5562017..3e94b2b 100644 --- a/nixos-anywhere/configuration.nix +++ b/nixos-anywhere/configuration.nix @@ -1,33 +1,33 @@ { - modulesPath, - lib, - pkgs, - ... + modulesPath, + lib, + pkgs, + ... } @ args: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - (modulesPath + "/profiles/qemu-guest.nix") - ./disk-config.nix - ]; - boot.loader.grub = { - # no need to set devices, disko will add all devices that have a EF02 partition to the list already - # devices = [ ]; - efiSupport = true; - efiInstallAsRemovable = true; - }; - services.openssh.enable = true; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + (modulesPath + "/profiles/qemu-guest.nix") + ./disk-config.nix + ]; + boot.loader.grub = { + # no need to set devices, disko will add all devices that have a EF02 partition to the list already + # devices = [ ]; + efiSupport = true; + efiInstallAsRemovable = true; + }; + services.openssh.enable = true; - environment.systemPackages = map lib.lowPrio [ - pkgs.curl - pkgs.gitMinimal - ]; + environment.systemPackages = map lib.lowPrio [ + pkgs.curl + pkgs.gitMinimal + ]; - users.users.root.openssh.authorizedKeys.keys = - [ - # change this to your ssh key - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos" - ] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed + users.users.root.openssh.authorizedKeys.keys = + [ + # change this to your ssh key + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos" + ] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed - system.stateVersion = "25.05"; + system.stateVersion = "25.05"; }