nix-dotfiles/hosts/juri/host.nix

46 lines
831 B
Nix
Raw Normal View History

{ config, ... }:
2025-03-18 14:09:25 -07:00
let
email = "admin@woach.me";
in {
imports = [
./hardware.nix
];
system.stateVersion = "24.11";
system.timezone = "America/Los_Angeles";
system.users.bigWheels = [ "pan" ];
2025-03-17 16:18:17 -07:00
sops-nix = {
enable = true;
keyFile = "/etc/sops/age/keys.txt";
sopsFile = ./secrets.yaml;
secrets = {
pdsEnv = {};
};
};
2025-03-18 14:09:25 -07:00
caddy = {
enable = true;
adminEmail = email;
vhosts = {
"juri.woach.me" = {
extraConfig = ''
reverse_proxy :3000
'';
serverAliases = [ "*.juri.woach.me" ];
};
};
};
2025-03-17 16:18:17 -07:00
pds = {
enable = true;
hostname = "juri.woach.me";
2025-03-18 14:09:25 -07:00
adminEmail = email;
2025-03-17 16:18:17 -07:00
environmentFile = config.sops.secrets.pdsEnv.path;
};
shell.enabledShells = [ "fish" ];
shell.defaultShell = "fish";
sshd.enable = true;
}