flakes/hosts/hyacinth/default.nix

49 lines
996 B
Nix
Raw Normal View History

2023-01-28 00:12:28 +07:00
{ config, inputs, modules, overlays, pkgs, ... }: {
networking.hostName = "hyacinth";
system.stateVersion = "21.11";
time.timeZone = "Asia/Phnom_Penh";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nixpkgs.overlays = [ inputs.neovim-nightly.overlay ];
age.secrets = {
passwd.file = ../../secrets/passwd.age;
wg_hyacinth.file = ../../secrets/wg_blossom.age;
wpa_conf.file = ../../secrets/wpa_conf.age;
};
imports = with modules.system; [
inputs.home-manager.nixosModule
home-manager
audio
base
ccache
2023-09-26 20:42:01 +07:00
corectrl
flatpak
2023-01-28 00:12:28 +07:00
greetd
gui
input
kernel
nix
packages
2023-09-26 20:42:01 +07:00
printing
2023-01-28 00:12:28 +07:00
security
snapper
2023-09-26 20:42:01 +07:00
virtualisation
2023-01-28 00:12:28 +07:00
wireguard
2023-08-18 20:21:36 +07:00
modules.services.postgres
2023-01-28 00:12:28 +07:00
./filesystem.nix
./kernel.nix
./networking.nix
../../users/rin
];
2023-08-18 20:21:36 +07:00
services.postgresql.ensureDatabases = [ "barista" "barista-dev" ];
2023-09-26 20:42:01 +07:00
# For steam fhs-env
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1w"
];
2023-01-28 00:12:28 +07:00
}