flakes/hosts/sugarcane/default.nix

34 lines
742 B
Nix
Raw Normal View History

2022-02-02 16:05:17 +07:00
{ 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;
2022-02-02 16:05:17 +07:00
passwd.file = ../../secrets/passwd.age;
2022-02-02 18:08:26 +07:00
wg_sugarcane.file = ../../secrets/wg_sugarcane.age;
2022-02-02 16:05:17 +07:00
};
imports =
(with modules.system; [
(modulesPath + "/profiles/qemu-guest.nix")
inputs.home-manager-raccoon.nixosModule
2022-02-02 16:05:17 +07:00
base
home-manager
input
nix-stable
security
wireguard
2022-02-02 16:05:17 +07:00
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
2022-02-02 16:05:17 +07:00
../../users/hana
]) ++
(with modules.services; [
nginx
]);
2022-02-02 16:05:17 +07:00
}