1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00
nixpkgs/nixos
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
..
doc nixos manual: refer to nix and nixpkgs manuals 2019-10-30 10:25:09 +01:00
lib nixos/make-iso9660-image: Fix doc typo 2019-10-18 11:58:28 -07:00
maintainers ec2-amis.nix: add 19.09 amis 2019-10-28 14:04:20 -04:00
modules pam_mount: change order of lines in pam_mount.conf 2019-11-03 12:43:01 +08:00
tests Merge pull request #72094 from lejonet/ceph-tests 2019-11-02 14:48:42 +01:00
COPYING
default.nix
README
release-combined.nix nixos.tests.fontconfig-default-fonts: init 2019-09-01 00:09:25 -04:00
release-small.nix
release.nix Merge pull request #68265 from tkerber/rpi4 2019-09-27 14:35:17 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.