37 lines
786 B
Nix
37 lines
786 B
Nix
{ config, inputs, modules, overlays, pkgs, ... }: {
|
|
networking.hostName = "caramel";
|
|
system.stateVersion = "21.11";
|
|
time.timeZone = "Asia/Phnom_Penh";
|
|
|
|
age.secrets = {
|
|
acme_dns.file = ../../secrets/acme_dns.age;
|
|
passwd.file = ../../secrets/passwd.age;
|
|
wpa_conf.file = ../../secrets/wpa_conf.age;
|
|
wg_caramel.file = ../../secrets/wg_caramel.age;
|
|
};
|
|
imports =
|
|
(with modules.system; [
|
|
inputs.home-manager-porcupine.nixosModule
|
|
|
|
base
|
|
home-manager
|
|
input
|
|
nix-porcupine
|
|
security
|
|
wireguard
|
|
|
|
./filesystem.nix
|
|
./kernel.nix
|
|
./networking.nix
|
|
./packages.nix
|
|
|
|
../../users/hana
|
|
]) ++
|
|
(with modules.services; [
|
|
nginx
|
|
postgres
|
|
synapse
|
|
tmptsync
|
|
unbound
|
|
]);
|
|
}
|