nix-files/hosts/by-name/servo/default.nix

40 lines
1.1 KiB
Nix
Raw Normal View History

{ pkgs, ... }:
{
imports = [
./fs.nix
./net.nix
./users.nix
./secrets.nix
./services
];
2023-01-17 10:31:21 +00:00
sane.packages.extraUserPkgs = with pkgs; [
2022-10-14 04:49:54 +00:00
# for administering services
2023-01-17 10:31:21 +00:00
freshrss
matrix-synapse
signaldctl
];
2023-01-06 10:04:51 +00:00
sane.persist.enable = true;
sane.services.dyn-dns.enable = true;
2022-11-22 12:01:55 +00:00
# sane.services.duplicity.enable = true; # TODO: re-enable after HW upgrade
boot.loader.efi.canTouchEfiVariables = false;
2022-11-29 02:20:18 +00:00
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
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-06-26 10:37:50 +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. Its 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).
2022-11-22 12:01:55 +00:00
system.stateVersion = "21.11";
}