1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/integration/standalone
bruce oberg 3c16ac3646 home manager: add test for option subcommand
- added a test to the standalone-basics unit:  the option subcommand queries the `home.username` value and ensures that something sane is returned.

details:

- the option subcommand was broken by upstream changes to the `nixos-option` command.
- hm had no tests for the option subcommand, so the problem was discovered by users.
- output from nixos-option probably starts with 'Value:\n  "alice"', but we're only looking for 'alice' because the output format is not guaranteed.
2025-11-03 09:12:22 -06:00
..
mu treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
rclone tmpfiles: add option to purge rules' targets on change 2025-11-02 23:02:10 -06:00
alice-flake-init.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
alice-home-init.nix tests: re-add module argument 2025-07-13 12:27:35 +02:00
alice-home-next.nix treewide: remove unused code (#6985) 2025-05-07 10:03:21 -05:00
alice-home-specialisation.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
flake-basics.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
home-with-symbols-init.nix tests: re-add module argument 2025-07-13 12:27:35 +02:00
home-with-symbols.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
kitty-theme-bad-home.nix tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
kitty-theme-good-home.nix tests: remove with lib (#6511) 2025-02-21 23:20:07 -06:00
kitty.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
nh.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
restic-home.nix restic: allow the convenience script to source environmentFile (#6947) 2025-05-02 08:23:57 -05:00
restic.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
specialisation.nix treewide: remove no-ops (#8061) 2025-10-26 15:43:53 -05:00
standard-basics.nix home manager: add test for option subcommand 2025-11-03 09:12:22 -06:00