35 lines
713 B
Nix
35 lines
713 B
Nix
# vim: tabstop=2 shiftwidth=2 expandtab
|
|
let
|
|
base-domain = "005540.xyz";
|
|
in
|
|
{ pkgs, ... }: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./openssh.nix
|
|
./firewall.nix
|
|
./fail2ban.nix
|
|
./borgbackup.nix
|
|
|
|
./ftp.nix
|
|
|
|
(import ./acme.nix { inherit base-domain; })
|
|
(import ./nginx.nix { inherit base-domain; })
|
|
./postgresql.nix
|
|
|
|
(import ./sourcehut.nix { inherit base-domain; })
|
|
|
|
(import ./paperless.nix { inherit base-domain; })
|
|
|
|
./userprogs.nix
|
|
];
|
|
|
|
environment.sessionVariables = {
|
|
TERM = "xterm-256color";
|
|
};
|
|
|
|
boot.tmp.cleanOnBoot = true;
|
|
zramSwap.enable = true;
|
|
networking.hostName = "quasar";
|
|
networking.domain = "";
|
|
system.stateVersion = "23.11";
|
|
}
|