Simon Bruder
816004e80b
This implements a crude mechanism for signalling my router to add the packets to its own qdisc. The way in which this is implemented with nftables is hacky because of NixOS’ limitations on build-time checking (which obviously can’t know about the existence of cgroups on the target).
24 lines
369 B
Nix
24 lines
369 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules
|
|
../../users/simon
|
|
];
|
|
|
|
sbruder = {
|
|
gui.enable = true;
|
|
restic.system = {
|
|
enable = true;
|
|
qos = true;
|
|
};
|
|
unfree.allowSoftware = true;
|
|
wireguard.home.enable = true;
|
|
};
|
|
|
|
networking.hostName = "nunotaba";
|
|
|
|
system.stateVersion = "22.05";
|
|
}
|