2022-06-09 21:50:24 +00:00
|
|
|
|
{ pkgs, ... }:
|
2022-05-21 07:30:29 +00:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
./fs.nix
|
|
|
|
|
./hardware.nix
|
|
|
|
|
./net.nix
|
|
|
|
|
./users.nix
|
2022-05-25 00:24:11 +00:00
|
|
|
|
./services/ddns-he.nix
|
2022-05-21 07:30:29 +00:00
|
|
|
|
./services/gitea.nix
|
2022-06-26 10:37:50 +00:00
|
|
|
|
./services/ipfs.nix
|
2022-05-21 07:30:29 +00:00
|
|
|
|
./services/jackett.nix
|
|
|
|
|
./services/jellyfin.nix
|
|
|
|
|
./services/matrix.nix
|
|
|
|
|
./services/nginx.nix
|
2022-05-28 10:36:59 +00:00
|
|
|
|
./services/nix-serve.nix
|
2022-05-21 07:30:29 +00:00
|
|
|
|
./services/pleroma.nix
|
|
|
|
|
./services/postfix.nix
|
|
|
|
|
./services/postgres.nix
|
|
|
|
|
./services/transmission.nix
|
|
|
|
|
];
|
|
|
|
|
|
2022-06-23 07:24:39 +00:00
|
|
|
|
colinsane.home-manager.enable = true;
|
2022-06-09 21:50:24 +00:00
|
|
|
|
colinsane.home-manager.extraPackages = [
|
|
|
|
|
pkgs.matrix-synapse
|
|
|
|
|
];
|
2022-06-29 08:17:53 +00:00
|
|
|
|
colinsane.impermanence.enable = true;
|
2022-06-10 08:30:57 +00:00
|
|
|
|
colinsane.services.duplicity.enable = true;
|
2022-06-29 08:17:53 +00:00
|
|
|
|
|
2022-06-28 00:11:27 +00:00
|
|
|
|
# TODO: validate this
|
2022-06-29 08:17:53 +00:00
|
|
|
|
boot.loader.grub.enable = false;
|
|
|
|
|
boot.loader.generic-extlinux-compatible.enable = true;
|
|
|
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
|
|
|
|
colinsane.image.extraBootFiles = [ pkgs.bootpart-u-boot-rpi-aarch64 ];
|
2022-06-10 08:30:57 +00:00
|
|
|
|
|
2022-06-10 08:43:48 +00:00
|
|
|
|
sops.secrets.duplicity_passphrase = {
|
2022-06-12 22:11:41 +00:00
|
|
|
|
sopsFile = ../../secrets/servo.yaml;
|
2022-06-10 08:30:57 +00:00
|
|
|
|
};
|
2022-05-23 07:10:52 +00:00
|
|
|
|
|
2022-06-26 10:37:50 +00:00
|
|
|
|
# both transmission and ipfs try to set different net defaults.
|
|
|
|
|
# we just use the most aggressive of the two here:
|
|
|
|
|
boot.kernel.sysctl = {
|
|
|
|
|
"net.core.rmem_max" = "4194304"; # 4MB
|
|
|
|
|
};
|
|
|
|
|
|
2022-05-21 07:30:29 +00:00
|
|
|
|
# This value determines the NixOS release from which the default
|
|
|
|
|
# settings for stateful data, like file locations and database versions
|
|
|
|
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
|
|
|
# this value at the release version of the first install of this system.
|
|
|
|
|
# Before changing this value read the documentation for this option
|
|
|
|
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
|
|
|
system.stateVersion = "21.11"; # Did you read the comment?
|
|
|
|
|
}
|
|
|
|
|
|