Commit Graph
528803 Commits
Author SHA1 Message Date
Majiir Paktu 9d6e6e18bc nixos/pam: add maintainer 2023-10-10 21:11:35 -04:00
Majiir Paktu e712b6e81d nixos/pam: generate apparmor includes from rules
Removes redundant config from the module. Fixes a bug where some modules
(e.g. ussh) were added to apparmor even though they had no rules enabled.
2023-10-10 21:11:35 -04:00
Majiir Paktu 43f7cb4a95 nixos/pam: add order comment to each rule line 2023-10-10 21:11:35 -04:00
Majiir Paktu 077cdcc7e9 nixos/pam: convert rules to attrs, add order field
Makes it possible to override properties of a rule by name. Introduces
an 'order' field that can be overridden to change the sequence of rules.

For now, the order value for each built-in rule is derived from its
place in the hardcoded list of rules.
2023-10-10 21:11:34 -04:00
Majiir Paktu e86487e579 nixos/pam: remove empty text fields 2023-10-10 21:11:34 -04:00
Majiir Paktu 5b8439f966 nixos/pam: add settings option for common argument styles
Adds easily overrideable settings for the most common PAM argument
styles. These are:

- Flag (e.g. "use_first_pass"): rendered for true boolean values. false
  values are ignored.

- Key-value (e.g. "action=validate"): rendered for non-null, non-boolean
  values.

Most PAM arguments can be configured this way. Others can still be
configured with the 'args' option.
2023-10-10 21:11:34 -04:00
Majiir Paktu 6eea7fb194 nixos/pam: extract args field
Module arguments have common escaping rules for all PAMs.
2023-10-09 23:17:37 -04:00
Majiir Paktu 12a488e89c nixos/pam: extract modulePath field 2023-10-09 23:17:36 -04:00
Majiir Paktu 25bc21f19a nixos/pam: extract control field 2023-10-09 23:17:36 -04:00
Majiir Paktu 0563e0a379 nixos/pam: give each rule a name
These names are internal identifiers. They will be used as keys so that
users can reconfigure rules by merging a rule config with the same name.
The name is arbitrary. The built-in rules are named after the PAM where
practical.
2023-10-09 23:17:36 -04:00
Majiir Paktu fbd7427b14 nixos/pam: define rules as submodules
Allows us to decompose rules into multiple fields that we later format
as textual rules. Eventually allows users to override individual fields.
2023-10-09 23:17:36 -04:00
Majiir Paktu 3c85d159f7 nixos/pam: automatically populate rule type
Eliminates a redundancy between the 'rules' suboptions and the type
specified in each rule.

We eventually want to give each rule a name so that we can merge config
overrides. The PAM name is a natural choice for rule name, but a PAM is
often used in multiple rule types. Organizing rules by type and rule
name avoids name collisions.
2023-10-09 23:17:15 -04:00
Majiir Paktu d6bb805932 nixos/pam: extract header comments
Unblocks converting the rules from one big string to a rich data
structure.
2023-10-09 20:40:19 -04:00
Majiir Paktu 0f9d719d8a nixos/pam: split rule lists into individual rules 2023-09-24 18:37:10 -04:00
Majiir Paktu dd458977a0 nixos/pam: clean up rules
Makes the rules more uniform in structure and style. This makes it
easier to automate subsequent commits. No behavior changes.
2023-09-24 18:37:10 -04:00
ArtturiandGitHub 0ca24a8dbe Merge pull request #257118 from szlend/libmcrypt-cross-fix 2023-09-25 01:31:56 +03:00
Nikolay KorotkiyandGitHub aa4692f666 Merge pull request #257094 from figsoda/fx
fx: 30.0.3 -> 30.1.0
2023-09-25 02:07:49 +04:00
Nikolay KorotkiyandGitHub 61df19aa01 Merge pull request #257037 from trofi/zlib-ng-update
zlib-ng: 2.1.2 -> 2.1.3
2023-09-25 02:00:24 +04:00
Thiago Kenji OkadaandGitHub 05d7c36fa9 Merge pull request #256878 from thiagokokada/bump-retroarch
retroarch: 1.15.0 -> 1.16.0
2023-09-24 22:56:30 +01:00
Nikolay KorotkiyandGitHub edae7081a3 Merge pull request #256375 from sikmir/osm2pgsql
osm2pgsql: 1.9.0 → 1.9.2
2023-09-25 01:50:58 +04:00
ArtturiandGitHub 713af20167 Merge pull request #241518 from Gerg-L/use-xdg-base-directories 2023-09-25 00:45:31 +03:00
ardishcoandBjørn Forsman 6972c1c378 clonehero: fix invalid url 2023-09-24 23:33:01 +02:00
Pierre BourdonandGitHub 774c35c2a1 Merge pull request #257135 from SebTM/slack_434120
slack: 4.34.115 -> 4.34.120
2023-09-24 23:27:51 +02:00
Rudolf VeselyandBjørn Forsman a4e4c38049 maintainers: add rudolfvesely 2023-09-24 23:26:09 +02:00
Samuel AinsworthandGitHub ba50929022 Merge pull request #257055 from r-ryantm/auto-update/python310Packages.autofaiss
python310Packages.autofaiss: 2.15.5 -> 2.15.8
2023-09-24 17:22:12 -04:00
John RinehartandBjørn Forsman d1114bc017 postman: add openssl dependency 2023-09-24 23:21:55 +02:00
Sebastian Sellmeier d83fafb0b9 slack: 4.34.115 -> 4.34.120 (linux), 4.34.115 -> 4.34.119 (darwin) 2023-09-24 23:19:07 +02:00
Mario RodasandGitHub d3e8006356 Merge pull request #253152 from SuperSandro2000/psqlodbc
psqlodbc: 09.01.0200 -> 13.00.0000
2023-09-24 16:16:26 -05:00
Mario RodasandGitHub e3954b3c60 Merge pull request #257108 from SuperSandro2000/act
act: 0.2.50 -> 0.2.51
2023-09-24 16:15:01 -05:00
Mario RodasandGitHub ecad6f8392 Merge pull request #257115 from marsam/update-mloader
mloader: 1.1.9 -> 1.1.11
2023-09-24 16:13:48 -05:00
Nikolay Korotkiy e2e53d4543 osm2pgsql: 1.9.0 → 1.9.2 2023-09-25 00:09:26 +04:00
Will FancherandGitHub 1af9be60b2 Merge pull request #247163 from vlinkz/calamaresupdate
calamares-nixos-extensions 0.3.12 -> 0.3.13
2023-09-24 16:09:15 -04:00
Nikolay KorotkiyandGitHub 89a6d10b3e Merge pull request #256339 from sikmir/osmium
libosmium: 2.19.0 → 2.20.0, osmium-tool: 1.15.0 → 1.16.0
2023-09-24 23:54:05 +04:00
Pol DellaieraandGitHub bbfbf65de0 Merge pull request #255731 from etu/php-packages-build-from-source
php.packages.{box,castor}: build from source
2023-09-24 21:01:43 +02:00
Weijia WangandGitHub d83248b4c9 Merge pull request #257012 from loco-choco/owmods-cli
owmods-cli: 0.10.0 -> 0.11.2
2023-09-24 20:14:16 +02:00
Weijia WangandGitHub a175fdabc1 Merge pull request #256416 from rhysmdnz/edge-updates
microsoft-edge: Use pname and make update script CWD independent
2023-09-24 20:13:07 +02:00
Weijia WangandGitHub 3bdc58732d Merge pull request #256741 from marcusramberg/marcus/fix_streamdeck_ui
streamdeck-ui: add wrapGAppsHook dependency
2023-09-24 20:08:55 +02:00
Weijia WangandGitHub c463204b60 Merge pull request #256858 from r-ryantm/auto-update/hop-cli
hop-cli: 0.2.53 -> 0.2.54
2023-09-24 20:07:34 +02:00
Martin WeineltandGitHub 2b9a9254e3 Merge pull request #257002 from mweinelt/ctranslate-tensorflow-bin
ctranslate2: 3.18.0 -> 3.20.0; python310Packages.ctranslate2: unblock by using tensorflow-bin
2023-09-24 20:07:01 +02:00
Weijia WangandGitHub 5765812aaa Merge pull request #256997 from aaronjheng/mongosh
mongosh: 1.10.6 -> 2.0.1
2023-09-24 20:05:32 +02:00
Simon Žlender 3407165c59 libmcrypt: fix cross compilation 2023-09-24 20:00:24 +02:00
Nikolay Korotkiy 93e9acacc7 python3Packages.pyosmium: fix build 2023-09-24 21:38:28 +04:00
NinjatrappeurandGitHub 05698bba1e Merge pull request #256744 from nadir-yttrium/update-clifm-1.14.6
clifm: 1.13 -> 1.14.6
2023-09-24 19:32:47 +02:00
ade134ecd1 nixpkgs manual: doc python: add hyperlinks to Python section (#252156)
* nixpkgs manual: doc python: add hyperlinks to Python section

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-09-24 19:13:18 +02:00
Sandro Jäckel 1e4393e5a2 act: 0.2.50 -> 0.2.51 2023-09-24 19:06:05 +02:00
Robert SchützandGitHub 8352a244b2 Merge pull request #256905 from hulr/setzer
setzer: 59 -> 60
2023-09-24 16:51:36 +00:00
Thiago Kenji Okada 75d6a892f8 libretro.parallel-n64: add missing Make flags 2023-09-24 17:49:30 +01:00
LuzandAustin Seipp e9c44cb203 librepcb: 0.1.7 -> 1.0.0 2023-09-24 11:41:12 -05:00
Elis Hirwing 2ed6ebe0f9 php.packages.castor: Build from source 2023-09-24 18:26:04 +02:00
Thiago Kenji Okada caf860b240 libretro.mupen64plus: add missing Make flags 2023-09-24 17:24:13 +01:00