nixpkgs/nixos/modules/services
Martin Weinelt 7d09d7f571
nixos/home-assistant: harden systemd service
This is what is still exposed, and it should still allow things to work
as usual.

✗ PrivateNetwork=                    Service has access to the host's …      0.5
✗ RestrictAddressFamilies=~AF_(INET… Service may allocate Internet soc…      0.3
✗ DeviceAllow=                       Service has a device ACL with som…      0.1
✗ IPAddressDeny=                     Service does not define an IP add…      0.2
✗ PrivateDevices=                    Service potentially has access to…      0.2
✗ PrivateUsers=                      Service has access to other users       0.2
✗ SystemCallFilter=~@resources       System call allow list defined fo…      0.2
✗ RootDirectory=/RootImage=          Service runs within the host's ro…      0.1
✗ SupplementaryGroups=               Service runs with supplementary g…      0.1
✗ RestrictAddressFamilies=~AF_UNIX   Service may allocate local sockets      0.1

→ Overall exposure level for home-assistant.service: 1.6 OK :-)

This can grow to as much as ~1.9 if you use one of the bluetooth or nmap
trackers or the emulated_hue component, all of which required elevated
permisssions.
2021-05-03 00:21:24 +02:00
..
admin utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
amqp activemq: add type to configurationDir (#110450) 2021-01-22 11:11:05 +01:00
audio Merge pull request #117554 from Zopieux/snapcast-meta 2021-04-07 10:30:32 +02:00
backup nixos/users: require one of users.users.name.{isSystemUser,isNormalUser} 2021-04-14 20:40:00 +02:00
blockchain/ethereum nixos/geth: initial service 2021-02-23 19:28:51 +01:00
cluster Merge pull request #103228 from ThinkChaos/fix_k3s_start 2021-04-14 09:01:33 +01:00
computing nixos/slurm: expose to path config files 2021-03-10 23:12:47 +01:00
continuous-integration services.buildkite-agents: support multi-tags 2021-04-22 21:23:52 +09:00
databases Merge pull request #118961 from Izorkin/update-redis-sandbox 2021-04-20 21:12:10 +01:00
desktops pipewire: Add update script 2021-04-27 16:50:22 +02:00
development Revert "nixos/hoogle: add type" 2021-02-01 17:39:08 +01:00
display-managers nixos/greetd: Add greetd module (#118294) 2021-04-06 19:35:32 +00:00
editors treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
games Merge pull request #111951 from f4814/add-quake3-module 2021-04-16 20:20:18 -04:00
hardware nixos/pcscd: Correctly install pcsclite (fix #121121) 2021-04-30 10:33:03 +02:00
logging nixos/promtail: Set TimeoutStopSec=10 2021-04-28 21:02:11 +02:00
mail nixos/rspamd: Fix CapabilityBoundingSet option 2021-04-25 20:26:22 +02:00
misc nixos/home-assistant: harden systemd service 2021-05-03 00:21:24 +02:00
monitoring Merge pull request #120492 from SuperSandro2000/prometheus-unbound-exporter 2021-04-29 10:54:22 +02:00
network-filesystems nixos/ipfs: remove separate ipfs-init systemd unit 2021-04-22 21:13:05 +02:00
networking nixos/adguardhome: init (#120568) 2021-04-30 20:55:31 +02:00
printing nixos/printing: simplify filterGutenprint function 2021-03-14 11:59:00 +01:00
scheduling nixos/marathon: remove module 2020-08-15 16:59:58 +02:00
search nixos/elasticsearch-curator: add type 2021-01-27 11:50:19 -08:00
security Merge pull request #120541 from pennae/fail2ban 2021-05-01 15:09:24 +01:00
system treewide: fix eval without aliases after 9378fdf87e 2021-04-08 13:33:09 +02:00
torrent nixos/deluge: add type 2021-01-28 14:30:23 -08:00
ttys nixos/getty: add services.getty.extraArgs 2021-02-26 13:17:04 +01:00
video epgstation: 1.7.4 -> 1.7.5 2020-10-21 00:05:48 +09:00
wayland cage: drop maintainership (#121174) 2021-04-29 18:07:13 +02:00
web-apps Merge pull request #117072 from em0lar/keycloak-module-dbuser 2021-04-29 20:15:19 +02:00
web-servers nixos/nginx: update hardening settings 2021-04-30 18:49:43 +02:00
x11 Merge pull request #119259 from romildo/upd.e16 2021-04-13 01:23:27 +02:00