This commit is contained in:
andromeda
2026-01-09 22:27:04 +01:00
commit ecc0d8ffe8
7 changed files with 282 additions and 0 deletions

43
configuration.nix Normal file
View File

@@ -0,0 +1,43 @@
{
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";
}