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-22 16:53:07 +00:00
|
|
|
(import ./acme.nix { inherit base-domain; })
|
|
|
|
|
(import ./sourcehut.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";
|
|
|
|
|
}
|