flakes/hosts/sugarcane/default.nix
LavaDesu c520a64c34
secrets: allow sugarcane to access acme_dns, and rekey
(cherry picked from commit c34578dd03)
(cherry picked from commit 3b5f8350e3)
2022-12-02 23:57:32 +07:00

33 lines
742 B
Nix

{ config, inputs, modules, modulesPath, overlays, pkgs, ... }: {
networking.hostName = "sugarcane";
system.stateVersion = "21.11";
time.timeZone = "Asia/Singapore";
age.secrets = {
acme_dns.file = ../../secrets/acme_dns.age;
passwd.file = ../../secrets/passwd.age;
wg_sugarcane.file = ../../secrets/wg_sugarcane.age;
};
imports =
(with modules.system; [
(modulesPath + "/profiles/qemu-guest.nix")
inputs.home-manager-raccoon.nixosModule
base
home-manager
input
nix-stable
security
wireguard
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
../../users/hana
]) ++
(with modules.services; [
nginx
]);
}