summary refs log tree commit diff
path: root/nixos/modules/security/apparmor.nix
Commit message (Collapse)AuthorAge
* apparmor: support for lxc profilesJörg Thalheim2017-01-10
|
* nixos: add AppArmor PAM supportJoachim Fasting2015-07-15
| | | | | | | | | Enables attaching AppArmor profiles at the user/group level. This is not intended to be used directly, but as part of a role-based access control scheme. For now, profile attachment is 'session optional', but should be changed to 'required' once a more comprehensive solution is in place.
* Cleanup AppArmor moduleJoachim Fasting2015-03-18
| | | | Remove excessive whitespace & comment sections
* Update AppArmor service moduleJoachim Fasting2015-03-12
| | | | | - Use AppArmor 2.9 - Enable PAM support
* kernel: enable AppArmor by defaultAustin Seipp2014-05-17
| | | | | | | | | | AppArmor only requires a few patches to the 3.2 and 3.4 kernels in order to work properly (with the minor catch grsecurity -stable includes the 3.2 patches.) This adds them to the kernel builds by default, removes features.apparmor (since it's always true) and makes it the default MAC system. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* nixos: transmission improvementsAustin Seipp2014-04-15
| | | | | | | | | | | | | | | | | | | This mostly upgrades transmission, and does some very minor touchups on AppArmor support. In particular, there is now no need to ever specify the umask as part of the settings, as it will be mixed in by default (which is essentially always what you want). Also, the default configuration is now more sensible: Downloads are put in /var/lib/transmission/Downloads, and incomplete files are put in /var/lib/transmission/.incomplete - this also allows easy use of file syncing probrams, like BitTorrent Sync. Finally, this unconditionally enables the AppArmor profiles for the daemon, if AppArmor is enabled - rather than letting the user specify profile support, it's best to default to supporting profiles for daemons transparently in all places. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* Remove uses of the "merge" option attributeEelco Dolstra2013-10-28
| | | | | It's redundant because you can (and should) specify an option type, or an apply function.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10