flakes/hosts/caramel/default.nix

44 lines
1,001 B
Nix
Raw Normal View History

{ config, inputs, modules, modulesPath, overlays, pkgs, ... }: {
2022-02-02 00:50:39 +07:00
networking.hostName = "caramel";
2022-11-27 14:30:59 +07:00
system.stateVersion = "22.11";
2022-02-02 00:50:39 +07:00
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;
wg_caramel.file = ../../secrets/wg_caramel.age;
2022-02-02 00:50:39 +07:00
};
imports =
(with modules.system; [
"${builtins.toString modulesPath}/installer/sd-card/sd-image-aarch64.nix"
2022-11-27 14:30:59 +07:00
inputs.home-manager-raccoon.nixosModule
2022-02-02 00:50:39 +07:00
base
home-manager
input
2022-11-27 14:30:59 +07:00
nix-stable
security
2022-08-10 20:41:03 +07:00
transmission
wireguard
2022-02-02 00:50:39 +07:00
./filesystem.nix
./kernel.nix
./image.nix
./networking.nix
./packages.nix
2022-02-02 00:50:39 +07:00
../../users/hana
]) ++
(with modules.services; [
# nginx
# postgres
# synapse
2022-08-09 22:03:15 +07:00
jellyfin
2022-08-10 15:51:38 +07:00
sonarr
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
}