flakes/hosts/caramel/default.nix

38 lines
786 B
Nix
Raw Normal View History

2022-02-02 00:50:39 +07:00
{ config, inputs, modules, overlays, pkgs, ... }: {
networking.hostName = "caramel";
system.stateVersion = "21.11";
time.timeZone = "Asia/Phnom_Penh";
age.secrets = {
2022-02-27 02:13:36 +07:00
acme_dns.file = ../../secrets/acme_dns.age;
2022-02-02 00:50:39 +07:00
passwd.file = ../../secrets/passwd.age;
wpa_conf.file = ../../secrets/wpa_conf.age;
wg_caramel.file = ../../secrets/wg_caramel.age;
2022-02-02 00:50:39 +07:00
};
imports =
(with modules.system; [
inputs.home-manager-porcupine.nixosModule
2022-02-02 00:50:39 +07:00
base
home-manager
input
nix-porcupine
security
wireguard
2022-02-02 00:50:39 +07:00
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
2022-02-02 00:50:39 +07:00
../../users/hana
]) ++
(with modules.services; [
nginx
postgres
synapse
2022-02-23 21:18:15 +07:00
tmptsync
2022-02-24 13:07:46 +07:00
unbound
]);
2022-02-02 00:50:39 +07:00
}