nix/nixos/desktop-cage.nix

21 lines
316 B
Nix

{ pkgs, ... }:
{
imports = [./desktop.nix];
systemd.network.networks.eth = {
matchConfig.Name = "en*";
DHCP = "ipv4";
networkConfig = {
IPv6AcceptRA = true;
IPv6PrivacyExtensions = true;
};
};
services.cage = {
enable = true;
extraArguments = [
"-d"
];
};
}