42 lines
1004 B
Nix
42 lines
1004 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
pkgsUnstable,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
network-dhcp = {
|
|
enable = true;
|
|
hardwareAddress = "BC:24:11:9C:0A:B4";
|
|
};
|
|
qemu.enable = true;
|
|
spice.enable = true;
|
|
|
|
services.caddy = {
|
|
enable = true;
|
|
virtualHosts."http://its-et.me" = {
|
|
extraConfig = ''
|
|
root * /srv/www/its-et.me
|
|
file_server
|
|
|
|
handle_errors {
|
|
rewrite * /{err.status_code}.html
|
|
file_server
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
|
|
base.userSSHKeys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKG67f82Yhqe2OkeHUN5g8QNLJzGI787OLvvNVwPUfeb etorres@xenon"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB2GkWLmYLYsZO3talZRF+EFUL9JrVOkhnqGLFWGkHxn etorres@radon"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFilrKly3qRkF6mCyFrcfnq2dCYsjNPHsdfUPUQCmkVE etorres@erics-mac"
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEmfVQd4xenp4g1ZvTesTlj2Ai2/LNg9h/JowLxQ3w17 etorres@iphone"
|
|
];
|
|
}
|