2024-08-22 09:50:54 +00:00
|
|
|
# vim: tabstop=2 shiftwidth=2 expandtab
|
2024-08-22 16:53:07 +00:00
|
|
|
let
|
|
|
|
|
base-domain = "005540.xyz";
|
|
|
|
|
in
|
2024-08-22 09:37:38 +00:00
|
|
|
{ pkgs, ... }: {
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
2024-08-22 16:38:49 +00:00
|
|
|
./firewall.nix
|
2024-08-23 08:28:25 +00:00
|
|
|
|
2024-08-22 16:53:07 +00:00
|
|
|
(import ./acme.nix { inherit base-domain; })
|
2024-08-22 16:55:59 +00:00
|
|
|
(import ./nginx.nix { inherit base-domain; })
|
2024-08-22 16:57:30 +00:00
|
|
|
./postgresql.nix
|
2024-08-23 08:28:25 +00:00
|
|
|
|
|
|
|
|
(import ./sourcehut.nix { inherit base-domain; })
|
2024-08-23 08:34:16 +00:00
|
|
|
#(import ./docspell.nix { inherit base-domain; })
|
2024-08-23 08:28:25 +00:00
|
|
|
|
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;
|
2024-08-23 08:34:16 +00:00
|
|
|
users.users.root.openssh.authorizedKeys.keys = [
|
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKQNIDqvhcfLKIDJybVI0o32CSDZpBXxjRxXj6OVQ93E khais@nixos''
|
|
|
|
|
''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK9C7ssXUVVMKOxfJOumkP3dUWVtC3cBPlCIl6ZZc8ug khais@void''
|
|
|
|
|
];
|
2024-08-22 09:37:38 +00:00
|
|
|
system.stateVersion = "23.11";
|
|
|
|
|
}
|