feat: a lot
This commit is contained in:
parent
d0c7269927
commit
7ff831ee1c
13 changed files with 128 additions and 79 deletions
|
|
@ -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 ];
|
||||
};
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue