44 lines
798 B
Nix
44 lines
798 B
Nix
{
|
|
modulesPath,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
|
./disko.nix
|
|
./impermanence.nix
|
|
];
|
|
|
|
# boot
|
|
boot.loader.grub = {
|
|
efiSupport = true;
|
|
efiInstallAsRemovable = true;
|
|
};
|
|
|
|
# cloud-init
|
|
networking.useDHCP = false;
|
|
services.cloud-init = {
|
|
enable = true;
|
|
network.enable = true;
|
|
};
|
|
|
|
# ssh
|
|
services.openssh.enable = true;
|
|
|
|
# root
|
|
users.mutableUsers = false;
|
|
users.users.root = {
|
|
packages = [
|
|
pkgs.dust
|
|
pkgs.git
|
|
pkgs.neovim
|
|
pkgs.tree
|
|
];
|
|
openssh.authorizedKeys.keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJy2VD362wUcu0lKj2d6OIU8dbAna0Lu/NaAYIj8gdIA andromeda@lenovo"
|
|
];
|
|
};
|
|
system.stateVersion = "26.05";
|
|
}
|