volpe/nix/configuration.nix

42 lines
879 B
Nix

{...}: {
imports = [
./hardware-configuration.nix
./module.nix
];
nix.settings.experimental-features = ["nix-command" "flakes"];
nix.settings.trusted-users = ["root" "cyberian"];
swapDevices = [
{
device = "/swapfile";
size = 2 * 1024; # 2GB
}
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
system.stateVersion = "24.11";
users.users.cyberian = {
isNormalUser = true;
extraGroups = ["wheel"];
};
security.sudo.wheelNeedsPassword = false;
services.qemuGuest.enable = true;
services.acpid.enable = true;
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
};
services.volpe = {
enable = true;
domain = "blog.jan-leila.com";
extraDomains = ["volpe.jan-leila.com"];
enableACME = true;
acmeEmail = "leyla@jan-leila.com";
};
}