nixpkgs/nixos/modules/security
B YI f40f98a732
pam_mount: change order of lines in pam_mount.conf
Change order of pam_mount.conf.xml so that users can override the preset configs.

My use case is to mount a gocryptfs (a fuse program) volume. I can not do that in current order.

Because even if I change the `<fusermount>` and `<fuserumount>` by add below to extraVolumes
```
<fusemount>${pkgs.fuse}/bin/mount.fuse %(VOLUME) %(MNTPT) "%(before=\"-o \" OPTIONS)"</fusemount>
<fuseumount>${pkgs.fuse}/bin/fusermount -u %(MNTPT)</fuseumount>
```
mount.fuse still does not work because it can not find `fusermount`. pam_mount will told stat /bin/fusermount failed.

Fine, I can add a `<path>` section to extraVolumes
```
<path>${pkgs.fuse}/bin:${pkgs.coreutils}/bin:${pkgs.utillinux}/bin</path>
```
but then the `<path>` section is overridden by the hardcoded `<path>${pkgs.utillinux}/bin</path>` below. So it still does not work.
2019-11-03 12:43:01 +08:00
..
wrappers treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
acme.nix nixos/modules/security/acme.nix: add server option 2019-10-30 11:08:12 +01:00
acme.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
apparmor-suid.nix
apparmor.nix
audit.nix
auditd.nix auditd service: make more useful 2019-06-10 18:55:11 +03:00
ca.nix
chromium-suid-sandbox.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
dhparams.nix
duosec.nix
google_oslogin.nix
hidepid.nix
hidepid.xml Revert "nixos/doc: re-format" 2019-09-19 19:17:30 +02:00
lock-kernel-modules.nix
misc.nix nixos/hardened: make pti=on overridable 2019-07-30 02:24:56 +02:00
oath.nix
pam.nix Merge pull request #67748 from typetetris/yubico-local-auth 2019-09-24 03:31:39 +01:00
pam_mount.nix pam_mount: change order of lines in pam_mount.conf 2019-11-03 12:43:01 +08:00
pam_usb.nix
polkit.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
prey.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
rngd.nix
rtkit.nix
sudo.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
systemd-confinement.nix