quasar/configuration.nix

28 lines
752 B
Nix
Raw Normal View History

# vim: tabstop=2 shiftwidth=2 expandtab
let
base-domain = "005540.xyz";
in
2024-08-22 09:37:38 +00:00
{ pkgs, ... }: {
imports = [
./hardware-configuration.nix
./firewall.nix
2024-08-23 08:28:25 +00:00
(import ./acme.nix { inherit base-domain; })
(import ./nginx.nix { inherit base-domain; })
./postgresql.nix
2024-08-23 08:28:25 +00:00
(import ./sourcehut.nix { inherit base-domain; })
(import ./docspell.nix { inherit base-domain; })
2024-08-22 16:40:51 +00:00
./userprogs.nix
2024-08-22 09:37:38 +00:00
];
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "quasar";
networking.domain = "";
services.openssh.enable = true;
users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKQNIDqvhcfLKIDJybVI0o32CSDZpBXxjRxXj6OVQ93E khais@nixos'' ];
system.stateVersion = "23.11";
}