host/thinkpad: split into modules

This commit is contained in:
Rouven Seifert 2023-11-24 09:57:15 +01:00
parent 70a6695ca1
commit aa2c1e702c
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
13 changed files with 153 additions and 160 deletions

View file

@ -160,4 +160,16 @@
];
};
};
programs.wireshark = {
enable = true;
package = pkgs.wireshark-qt;
};
users.groups.etherape = { };
security.wrappers.etherape = {
source = "${pkgs.etherape}/bin/etherape";
capabilities = "cap_net_raw,cap_net_admin+eip";
owner = "root";
group = "etherape"; # too lazy to create a new one
permissions = "u+rx,g+x";
};
}