nixpkgs/nixos/modules/system/activation
Janne Heß b52372675d
nixos/switch-to-configuration: Clean up lower part of the script
- Fully get rid of `parseKeyValues` and use systemctl features for that
- Add some regex modifiers recommended by perlcritic
- Get rid of a postfix if
- Sort units when showing their status
- Clean the logic for showing what failed from `elif` to `next`
- Switch from `state` to `substate` for `auto-restart` because that's
  actually where the value is stored
- Show status of units with one single systemctl call and get rid of
  COLUMNS in favor of --full
- Add a test for failing units
2022-01-20 17:10:02 +01:00
..
activation-script.nix Merge pull request #148785 from pennae/more-option-doc-staticizing 2021-12-17 11:14:08 -05:00
no-clone.nix specialisation: replace nesting with named configurations 2020-04-12 08:12:50 -04:00
switch-to-configuration.pl nixos/switch-to-configuration: Clean up lower part of the script 2022-01-20 17:10:02 +01:00
top-level.nix nixos/switch-to-configuration: Proper unit file parser 2022-01-20 15:10:23 +01:00