nixpkgs/nixos/modules
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
..
config nixos/users-groups: check format of passwd entries 2021-04-22 13:18:38 +00:00
hardware Merge pull request #119706 from nyanotech/master 2021-04-24 03:49:09 +02:00
i18n/input-method input methods: add kime 2021-04-19 03:05:07 +09:00
installer sd-image: Add option to control sd image expansion on boot. 2021-04-30 22:12:07 -04:00
misc nixos/misc/ids: reclaim uid for disnix 2021-03-28 21:40:44 +02:00
profiles nixos/hidepid: drop the module as the hidepid mount option is broken 2021-02-21 13:51:37 +01:00
programs nixos/phosh: init 2021-05-01 06:55:02 +00:00
security Merge pull request #116369 from m1cr0man/master 2021-03-23 21:31:42 +01:00
services nixos/home-assistant: harden systemd service 2021-05-03 00:21:24 +02:00
system Merge pull request #114637 from KaiHa/pr/fix-systemd-boot-builder 2021-04-25 11:35:00 +01:00
tasks nixos/cpu-freq: fix typo in description 2021-04-21 22:03:18 +02:00
testing treewide: use perl.withPackages when possible 2021-03-31 21:35:37 +02:00
virtualisation Merge pull request #121021 from pennae/container-sigterm 2021-04-30 21:35:16 +02:00
module-list.nix Merge pull request #121226 from zhaofengli/librem-take2 2021-05-01 18:41:50 +02:00
rename.nix quagga: remove 2021-04-22 12:48:48 +02:00