colin
afaa6343ab
``` • Updated input 'home-manager': 'github:nix-community/home-manager/87d55517f6f36aa1afbd7a4a064869d5a1d405b8' (2022-11-05) → 'github:nix-community/home-manager/6639e3a837fc5deb6f99554072789724997bc8e5' (2022-11-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3bacde6273b09a21a8ccfba15586fb165078fb62' (2022-11-05) → 'github:NixOS/nixpkgs/872fceeed60ae6b7766cc0a4cd5bf5901b9098ec' (2022-11-09) • Updated input 'nixpkgs-stable': 'github:NixOS/nixpkgs/f09ad462c5a121d0239fde645aacb2221553a217' (2022-11-05) → 'github:NixOS/nixpkgs/fa842715565307b7e05cdb187b08c05f16ed08f1' (2022-11-09) • Updated input 'sops-nix': 'github:Mic92/sops-nix/486b4455da16272c1ed31bc82adcdbe7af829465' (2022-11-02) → 'github:Mic92/sops-nix/4407353739ad74a3d9744cf2988ab10f3b83e288' (2022-11-06) ```
47 lines
1.4 KiB
Nix
47 lines
1.4 KiB
Nix
{ pkgs, ... }:
|
||
|
||
{
|
||
imports = [
|
||
./fs.nix
|
||
./hardware.nix
|
||
./net.nix
|
||
./users.nix
|
||
./services
|
||
];
|
||
|
||
sane.home-manager.extraPackages = [
|
||
# for administering services
|
||
pkgs.matrix-synapse
|
||
pkgs.freshrss
|
||
pkgs.goaccess
|
||
];
|
||
sane.impermanence.enable = true;
|
||
sane.services.duplicity.enable = true;
|
||
sane.services.nixserve.enable = true;
|
||
|
||
# TODO: look into the EFI stuff
|
||
boot.loader.grub.enable = false;
|
||
boot.loader.generic-extlinux-compatible.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = false;
|
||
sane.image.extraBootFiles = [ pkgs.bootpart-u-boot-rpi-aarch64 ];
|
||
|
||
sops.secrets.duplicity_passphrase = {
|
||
sopsFile = ../../secrets/servo.yaml;
|
||
};
|
||
|
||
# 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
|
||
};
|
||
|
||
# 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?
|
||
}
|
||
|