Commit graph

  • 8e81dcdc65
    flake.lock: Update r-vdp 2023-04-12 12:55:54 +02:00
  • b83ab41394
    Add TODO item. r-vdp 2023-04-11 22:03:03 +02:00
  • 95f792005c
    Extra debug logging. r-vdp 2023-04-11 21:55:39 +02:00
  • d3c8c6923f
    Rework error handling and merge the two state files. r-vdp 2023-04-11 21:54:45 +02:00
  • 0f0eeec627
    flake.lock: Update r-vdp 2023-04-11 12:45:09 +02:00
  • 21ef645d8f
    cargo update r-vdp 2023-04-11 12:44:47 +02:00
  • 903655cb52
    Simplify toplevel error handling. r-vdp 2023-04-07 11:28:57 +02:00
  • 0424edf5fb
    Fix settings. r-vdp 2023-04-06 17:11:36 +02:00
  • 1d40d4459a
    Remove unused keys. r-vdp 2023-04-06 16:59:47 +02:00
  • 9ac1c24c6e
    Run the CI on our nix runner. r-vdp 2023-04-06 16:52:11 +02:00
  • 1d697c9b1e
    Commit settings. r-vdp 2023-04-06 16:44:11 +02:00
  • dc55b5e53f
    cargo update r-vdp 2023-04-06 13:21:35 +02:00
  • d4b55273c8
    flake.lock: Update r-vdp 2023-04-06 13:20:37 +02:00
  • 5b4e7938f5
    Impprove error messages when a wrong flake attr was specified. r-vdp 2023-04-06 13:19:57 +02:00
  • fd2168914e
    flake.lock: Update r-vdp 2023-04-04 15:56:08 +02:00
  • 6947da591e
    Cargo update r-vdp 2023-04-04 15:55:56 +02:00
  • f864149440
    Always reload the daemon on deactivate. r-vdp 2023-03-30 15:02:14 +02:00
  • 360b0ce3c5
    Fix issue with symlinking already existing directories. r-vdp 2023-03-30 15:01:34 +02:00
  • 336db40ad7
    Improve README. r-vdp 2023-03-29 18:11:12 +02:00
  • 05e9306f21
    Set required experimental features internally. r-vdp 2023-03-29 11:45:15 +02:00
  • 1e9d3be430
    Print eval failures to the debug log. r-vdp 2023-03-29 11:38:29 +02:00
  • 4b1c70daf7
    test/nix/flake.lock: Update r-vdp 2023-03-29 11:15:58 +02:00
  • 01073b251d
    Set default log level to info. r-vdp 2023-03-29 11:06:59 +02:00
  • 9d81d47c03
    cargo update r-vdp 2023-03-28 22:49:48 +02:00
  • 944f056dbb
    flake.lock: Update r-vdp 2023-03-28 22:48:03 +02:00
  • 6f74507684
    Set the nixpkgs platform as a module option. r-vdp 2023-03-28 14:51:16 +02:00
  • 36b67321c0
    Run cargo tests as part of CI. r-vdp 2023-03-27 19:21:22 +02:00
  • 9d46e2be2c
    Use correct branch name. r-vdp 2023-03-27 19:01:14 +02:00
  • 74c33a3390
    Fix typo. r-vdp 2023-03-27 19:00:09 +02:00
  • 70941d6c96
    Fix CI. r-vdp 2023-03-27 18:58:22 +02:00
  • f760bcae4a
    Create ci.yml Ramses 2023-03-27 18:50:57 +02:00
  • 176b435ccc
    Update repo URL. r-vdp 2023-03-27 18:01:37 +02:00
  • c9c203b39d
    Reformat code example. r-vdp 2023-03-27 16:28:46 +02:00
  • 1f5cf750e5
    Put the test code in a separate flake. r-vdp 2023-03-27 15:55:19 +02:00
  • d9d770da7a
    cargo update r-vdp 2023-03-27 15:20:41 +02:00
  • 86cc9db762
    flake.lock: Update r-vdp 2023-03-27 11:06:46 +02:00
  • 197852e599
    Refactor. r-vdp 2023-03-24 17:03:33 +01:00
  • 92ac83f22a
    We can just stringify the normal nixpkgs flake. r-vdp 2023-03-24 17:02:59 +01:00
  • 6c318867c1
    Formatting. r-vdp 2023-03-24 16:35:57 +01:00
  • 015935f46e
    Move the test module into a separate dir. r-vdp 2023-03-24 16:35:02 +01:00
  • 0cc421ead0
    Rename --flake-uri to --flake. r-vdp 2023-03-24 16:19:18 +01:00
  • ec231161ed
    Update README. r-vdp 2023-03-24 16:05:49 +01:00
  • e2fd2e8a73
    flake.lock: Update r-vdp 2023-03-24 16:03:38 +01:00
  • ce4cf7149d
    Major overhaul of the nix side of things, part II. r-vdp 2023-03-24 16:03:20 +01:00
  • 9759c2da12
    Major overhaul of the nix side of things. r-vdp 2023-03-24 14:14:20 +01:00
  • 9aaa5e58f7
    Improve README. r-vdp 2023-03-23 17:07:37 +01:00
  • 65321376e8
    Implement deactivate with a target host + documentation r-vdp 2023-03-23 17:07:04 +01:00
  • 8888285a10
    Update README. r-vdp 2023-03-23 16:00:14 +01:00
  • 84a4ddac1e
    Allow to easily override the assertion for supported distros. r-vdp 2023-03-23 14:57:18 +01:00
  • 9278cc8be8
    Allow for a job monitor to be reused. r-vdp 2023-03-23 14:23:43 +01:00
  • 4460250457
    Do not overwrite unmanaged files in /etc. r-vdp 2023-03-23 11:53:22 +01:00
  • f7edf3a52f
    Move the logic to serialise and deserialise EtcTrees into the type's impl. r-vdp 2023-03-23 11:52:41 +01:00
  • 47f32ccea7
    Use TODO everywhere. r-vdp 2023-03-22 23:16:25 +01:00
  • e60fa080b4
    Small refactors. r-vdp 2023-03-22 23:15:41 +01:00
  • fe41f93e82
    Remove unused compose function. r-vdp 2023-03-22 17:52:34 +01:00
  • c05f3b9cca
    cargo update r-vdp 2023-03-22 15:59:36 +01:00
  • 7d760e39fc
    flake.lock: Update r-vdp 2023-03-22 15:59:07 +01:00
  • c9a47913f4
    Add the possibility to define assertions to be checked before activation. r-vdp 2023-03-22 15:52:56 +01:00
  • 02a0e81d6d
    Avoid manual construction of paths. r-vdp 2023-03-22 15:48:27 +01:00
  • 19edbdddb1
    Add an assertion to make sure that the services passed to systemd-manager exist. r-vdp 2023-03-22 11:56:58 +01:00
  • 542f0fea95
    Don't reload the systemd daemon when it's not needed. r-vdp 2023-03-21 23:59:26 +01:00
  • 10ee13b5b7
    Refactor to reduce repetitive code. r-vdp 2023-03-21 17:44:19 +01:00
  • 4dfdf16c3d
    Add extra info to cargo. r-vdp 2023-03-21 17:13:32 +01:00
  • 743be9537c
    Extract as a function. r-vdp 2023-03-21 16:47:59 +01:00
  • 43a2af24ae
    Avoid killing systemd by properly restoring /run/systemd/system r-vdp 2023-03-21 16:35:08 +01:00
  • 58353436c2
    Complete rework of the systemd logic. r-vdp 2023-03-21 16:14:12 +01:00
  • 806b1f23fd
    cargo update r-vdp 2023-03-21 09:53:12 +01:00
  • 496b213493
    flake.lock: Update r-vdp 2023-03-21 09:52:43 +01:00
  • 6282ee5357
    Refactor the code for the services to do less copying. r-vdp 2023-03-20 10:49:32 +01:00
  • 93b7c32688
    cargo update r-vdp 2023-03-20 10:18:12 +01:00
  • 07c0ec6729
    flake.lock: Update r-vdp 2023-03-20 10:17:34 +01:00
  • 6a7910bab1
    Avoid an unneeded extra "etc" directory. r-vdp 2023-03-17 15:47:56 +01:00
  • 527e0269ff
    Small optimisations in the systemd module. r-vdp 2023-03-17 14:49:50 +01:00
  • 843cd69eb4
    Cargo update R-VdP 2023-03-16 18:07:31 +01:00
  • cdd1c88f54
    flake.lock: Update R-VdP 2023-03-16 18:06:33 +01:00
  • e5f7e5f5f1
    Use & instead of calling .as_path() R-VdP 2023-03-16 13:43:59 +01:00
  • bacaae7878
    Reduce duplication. R-VdP 2023-03-16 12:05:13 +01:00
  • f569c59eee
    Pass the correct closure to the update_state call. R-VdP 2023-03-16 11:59:44 +01:00
  • 687c533478
    Pass the status along to the delete_action so that we can act correctly on non-empty dirs. R-VdP 2023-03-16 11:59:20 +01:00
  • daae141949
    Add WantedBy and RequiredBy to the JSON file produced by Nix. R-VdP 2023-03-15 20:43:50 +01:00
  • 126cad884b
    Handle flake URIs ending in # R-VdP 2023-03-15 20:43:04 +01:00
  • 25ac812c53
    Be a bit more flexible regarding the flake-uri argument. R-VdP 2023-03-15 19:51:56 +01:00
  • ed99b39f6c
    Improve log output. R-VdP 2023-03-15 14:05:52 +01:00
  • 306e055922
    Check if an existing file is managed before copying. R-VdP 2023-03-15 14:05:11 +01:00
  • 95d8fe7583
    Add EtcTree::get_status. R-VdP 2023-03-14 21:06:06 +01:00
  • a3e5318442
    Clean up use statements. R-VdP 2023-03-14 21:05:49 +01:00
  • 15dd869682
    Move the systemsConfigs key so that every entry defines its system. Determine flake attrs automatically. R-VdP 2023-03-14 20:37:35 +01:00
  • 5ccc6b1bba
    Remove nix-filter input. R-VdP 2023-03-14 20:36:29 +01:00
  • 5f72cae0bd
    Properly clean up dnagling unmanaged entries in the state file. R-VdP 2023-03-14 17:14:39 +01:00
  • 5b91600523
    Properly clean up dnagling unmanaged entries in the state file. R-VdP 2023-03-14 17:06:18 +01:00
  • 16b3a09558
    Refactor Result handling. R-VdP 2023-03-14 16:40:01 +01:00
  • 95f9897766
    Cleanup of EtcTree. R-VdP 2023-03-14 16:39:47 +01:00
  • 0e5a2c4bd7
    Move EtcTree to its own module. R-VdP 2023-03-14 11:36:56 +01:00
  • 9924d2ea43
    flake.lock: Update R-VdP 2023-03-14 11:07:35 +01:00
  • f98bc65631
    Finish implementation of EtcTree. R-VdP 2023-03-14 11:06:55 +01:00
  • e8e21ee2d5
    Implement EtcTree::update_state R-VdP 2023-03-13 18:50:16 +01:00
  • 043bd86663
    Cargo update R-VdP 2023-03-13 18:49:49 +01:00
  • dabb079eb7
    flake.lock: Update R-VdP 2023-03-13 13:42:10 +01:00
  • 74d422bad6
    Extra test case. R-VdP 2023-03-10 21:39:28 +01:00
  • c7a66c76ed
    WIP, etc tree implementation. R-VdP 2023-03-10 21:18:35 +01:00