feat: a lot

This commit is contained in:
Jacob Bachmann 2024-02-12 11:49:35 +01:00
parent d0c7269927
commit 7ff831ee1c
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
13 changed files with 128 additions and 79 deletions

View file

@ -1,8 +1,9 @@
{ config, lib, ... }: {
security.polkit.enable = true;
security.polkit.enable = true;
# rtkit is optional but recommended
security.rtkit.enable = true;
networking.firewall.enable = true;
} // (lib.mkIf (lib.elem "sway" config.bchmnn.gui.flavour) {
@ -10,4 +11,10 @@
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.swaylock = { };
}) // (lib.mkIf (config.bchmnn.devenv.enable) {
networking.firewall = {
allowedTCPPorts = [ 3000 ];
};
})