Retab configuration.nix

This commit is contained in:
Eli Ribble 2025-07-11 21:22:21 +00:00
parent a5ef5af880
commit bb224a492b

View file

@ -1,33 +1,33 @@
{ {
modulesPath, modulesPath,
lib, lib,
pkgs, pkgs,
... ...
} @ args: } @ args:
{ {
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix") (modulesPath + "/profiles/qemu-guest.nix")
./disk-config.nix ./disk-config.nix
]; ];
boot.loader.grub = { boot.loader.grub = {
# no need to set devices, disko will add all devices that have a EF02 partition to the list already # no need to set devices, disko will add all devices that have a EF02 partition to the list already
# devices = [ ]; # devices = [ ];
efiSupport = true; efiSupport = true;
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
}; };
services.openssh.enable = true; services.openssh.enable = true;
environment.systemPackages = map lib.lowPrio [ environment.systemPackages = map lib.lowPrio [
pkgs.curl pkgs.curl
pkgs.gitMinimal pkgs.gitMinimal
]; ];
users.users.root.openssh.authorizedKeys.keys = users.users.root.openssh.authorizedKeys.keys =
[ [
# change this to your ssh key # change this to your ssh key
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBvhtF6nRWlA6PVs71Eek7p0p2PxTd3P6ZEGFV2t75MB eliribble@nixos"
] ++ (args.extraPublicKeys or []); # this is used for unit-testing this module and can be removed if not needed ] ++ (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";
} }