2022-08-08 18:18:18 +07:00
|
|
|
{ config, inputs, modules, modulesPath, overlays, pkgs, ... }: {
|
2022-02-02 00:50:39 +07:00
|
|
|
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;
|
2022-02-27 13:06:17 +07:00
|
|
|
warden_admin.file = ../../secrets/warden_admin.age;
|
2022-02-02 00:50:39 +07:00
|
|
|
wpa_conf.file = ../../secrets/wpa_conf.age;
|
2022-02-13 15:33:16 +07:00
|
|
|
wg_caramel.file = ../../secrets/wg_caramel.age;
|
2022-02-02 00:50:39 +07:00
|
|
|
};
|
2022-02-13 21:06:56 +07:00
|
|
|
imports =
|
|
|
|
|
(with modules.system; [
|
2022-08-08 18:18:18 +07:00
|
|
|
"${builtins.toString modulesPath}/installer/sd-card/sd-image-aarch64.nix"
|
2022-02-13 21:06:56 +07:00
|
|
|
inputs.home-manager-porcupine.nixosModule
|
2022-02-02 00:50:39 +07:00
|
|
|
|
2022-02-13 21:06:56 +07:00
|
|
|
base
|
|
|
|
|
home-manager
|
|
|
|
|
input
|
|
|
|
|
nix-porcupine
|
|
|
|
|
security
|
|
|
|
|
wireguard
|
2022-02-02 00:50:39 +07:00
|
|
|
|
2022-02-13 21:06:56 +07:00
|
|
|
./filesystem.nix
|
|
|
|
|
./kernel.nix
|
2022-08-08 18:18:18 +07:00
|
|
|
./image.nix
|
2022-02-13 21:06:56 +07:00
|
|
|
./networking.nix
|
|
|
|
|
./packages.nix
|
2022-02-02 00:50:39 +07:00
|
|
|
|
2022-02-13 21:06:56 +07:00
|
|
|
../../users/hana
|
|
|
|
|
]) ++
|
|
|
|
|
(with modules.services; [
|
2022-08-08 18:18:18 +07:00
|
|
|
# nginx
|
|
|
|
|
# postgres
|
|
|
|
|
# synapse
|
2022-08-09 22:03:15 +07:00
|
|
|
jellyfin
|
2022-02-23 21:18:15 +07:00
|
|
|
tmptsync
|
2022-02-24 13:07:46 +07:00
|
|
|
unbound
|
2022-02-27 13:06:17 +07:00
|
|
|
vaultwarden
|
2022-02-13 21:06:56 +07:00
|
|
|
]);
|
2022-02-02 00:50:39 +07:00
|
|
|
}
|