2024-03-29 20:56:26 +00:00
|
|
|
{modulesPath, ...}: {
|
2024-01-25 15:54:05 +00:00
|
|
|
imports = [
|
2024-03-29 20:56:26 +00:00
|
|
|
(modulesPath + "/profiles/qemu-guest.nix")
|
2024-01-25 15:54:05 +00:00
|
|
|
];
|
|
|
|
# Don't change!
|
2024-03-29 20:56:26 +00:00
|
|
|
system.stateVersion = "23.11";
|
2024-01-25 15:54:05 +00:00
|
|
|
|
|
|
|
time.timeZone = "UTC";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
|
2024-04-19 20:44:42 +00:00
|
|
|
boot.loader.grub = {
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
};
|
2024-01-25 15:54:05 +00:00
|
|
|
|
|
|
|
security.sudo.wheelNeedsPassword = false;
|
|
|
|
services.openssh.enable = true;
|
|
|
|
|
|
|
|
networking = {
|
2024-03-29 20:56:26 +00:00
|
|
|
hostName = "ami";
|
2024-01-25 15:54:05 +00:00
|
|
|
firewall.allowPing = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
settings = {
|
|
|
|
auto-optimise-store = true;
|
|
|
|
trusted-users = ["root"];
|
|
|
|
};
|
|
|
|
|
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "weekly";
|
|
|
|
options = "--delete-older-than 14d";
|
|
|
|
};
|
|
|
|
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|