flakes/hosts/hyacinth/default.nix

50 lines
1 KiB
Nix

{ config, inputs, modules, overlays, pkgs, ... }: {
networking.hostName = "hyacinth";
system.stateVersion = "21.11";
time.timeZone = "Australia/Melbourne";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
nixpkgs.overlays = [ inputs.neovim-nightly.overlays.default ];
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; [
home-manager
aagl
audio
base
bluetooth
ccache
corectrl
flatpak
greetd
gui
input
kernel
nix
packages
printing
security
snapper
virtualisation
modules.services.postgres
./filesystem.nix
./kernel.nix
./networking.nix
./packages.nix
../../users/rin
];
services.postgresql.ensureDatabases = [ "barista" "barista-dev" ];
systemd.services.nix-daemon.environment.TMPDIR = "/nix/tmp";
# For steam fhs-env
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1w"
];
}