r-vdp
|
6c318867c1
|
Formatting.
|
2023-03-24 16:35:57 +01:00 |
|
r-vdp
|
015935f46e
|
Move the test module into a separate dir.
|
2023-03-24 16:35:02 +01:00 |
|
r-vdp
|
0cc421ead0
|
Rename --flake-uri to --flake.
|
2023-03-24 16:19:18 +01:00 |
|
r-vdp
|
ec231161ed
|
Update README.
|
2023-03-24 16:05:49 +01:00 |
|
r-vdp
|
e2fd2e8a73
|
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/60c1d71f2ba4c80178ec84523c2ca0801522e0a6' (2023-03-19)
→ 'github:NixOS/nixpkgs/19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e' (2023-03-21)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/a89d328ca7d106c3fdbbd072b6c7088ab5b798a3' (2023-03-22)
→ 'github:oxalica/rust-overlay/afbdcf305fd6f05f708fe76d52f24d37d066c251' (2023-03-24)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/0f560a84215e79facd2833b20bfdc2033266f126' (2023-03-15)
→ 'github:numtide/treefmt-nix/af75d6efe437858f9ca5535e622cfbedad1ba717' (2023-03-23)
|
2023-03-24 16:03:38 +01:00 |
|
r-vdp
|
ce4cf7149d
|
Major overhaul of the nix side of things, part II.
|
2023-03-24 16:03:20 +01:00 |
|
r-vdp
|
9759c2da12
|
Major overhaul of the nix side of things.
|
2023-03-24 14:14:20 +01:00 |
|
r-vdp
|
9aaa5e58f7
|
Improve README.
|
2023-03-23 17:07:37 +01:00 |
|
r-vdp
|
65321376e8
|
Implement deactivate with a target host + documentation
|
2023-03-23 17:07:04 +01:00 |
|
r-vdp
|
8888285a10
|
Update README.
|
2023-03-23 16:00:14 +01:00 |
|
r-vdp
|
84a4ddac1e
|
Allow to easily override the assertion for supported distros.
|
2023-03-23 14:57:18 +01:00 |
|
r-vdp
|
9278cc8be8
|
Allow for a job monitor to be reused.
|
2023-03-23 14:23:43 +01:00 |
|
r-vdp
|
4460250457
|
Do not overwrite unmanaged files in /etc.
|
2023-03-23 11:53:22 +01:00 |
|
r-vdp
|
f7edf3a52f
|
Move the logic to serialise and deserialise EtcTrees into the type's impl.
|
2023-03-23 11:52:41 +01:00 |
|
r-vdp
|
47f32ccea7
|
Use TODO everywhere.
|
2023-03-22 23:16:25 +01:00 |
|
r-vdp
|
e60fa080b4
|
Small refactors.
|
2023-03-22 23:15:41 +01:00 |
|
r-vdp
|
fe41f93e82
|
Remove unused compose function.
|
2023-03-22 17:52:34 +01:00 |
|
r-vdp
|
c05f3b9cca
|
cargo update
|
2023-03-22 15:59:36 +01:00 |
|
r-vdp
|
7d760e39fc
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/2552a2d1ccf33d43259a9e00f93dbacb9e6d6bed' (2023-03-20)
→ 'github:ipetkov/crane/ec69da697357cfe7d9e8653b0cfbe73eaecca34b' (2023-03-22)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/f5efdf14ed378aac26cadded4d0c00ca91974d32' (2023-03-21)
→ 'github:oxalica/rust-overlay/a89d328ca7d106c3fdbbd072b6c7088ab5b798a3' (2023-03-22)
|
2023-03-22 15:59:07 +01:00 |
|
r-vdp
|
c9a47913f4
|
Add the possibility to define assertions to be checked before activation.
|
2023-03-22 15:52:56 +01:00 |
|
r-vdp
|
02a0e81d6d
|
Avoid manual construction of paths.
|
2023-03-22 15:48:27 +01:00 |
|
r-vdp
|
19edbdddb1
|
Add an assertion to make sure that the services passed to systemd-manager exist.
|
2023-03-22 11:56:58 +01:00 |
|
r-vdp
|
542f0fea95
|
Don't reload the systemd daemon when it's not needed.
|
2023-03-21 23:59:26 +01:00 |
|
r-vdp
|
10ee13b5b7
|
Refactor to reduce repetitive code.
|
2023-03-21 17:44:19 +01:00 |
|
r-vdp
|
4dfdf16c3d
|
Add extra info to cargo.
|
2023-03-21 17:13:32 +01:00 |
|
r-vdp
|
743be9537c
|
Extract as a function.
|
2023-03-21 16:47:59 +01:00 |
|
r-vdp
|
43a2af24ae
|
Avoid killing systemd by properly restoring /run/systemd/system
|
2023-03-21 16:35:08 +01:00 |
|
r-vdp
|
58353436c2
|
Complete rework of the systemd logic.
|
2023-03-21 16:14:12 +01:00 |
|
r-vdp
|
806b1f23fd
|
cargo update
|
2023-03-21 09:53:12 +01:00 |
|
r-vdp
|
496b213493
|
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/1603d11595a232205f03d46e635d919d1e1ec5b9' (2023-03-18)
→ 'github:NixOS/nixpkgs/60c1d71f2ba4c80178ec84523c2ca0801522e0a6' (2023-03-19)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/c680a0a4144bb0931f6cebd601a3978bbafc4f64' (2023-03-20)
→ 'github:oxalica/rust-overlay/f5efdf14ed378aac26cadded4d0c00ca91974d32' (2023-03-21)
|
2023-03-21 09:52:43 +01:00 |
|
r-vdp
|
6282ee5357
|
Refactor the code for the services to do less copying.
|
2023-03-20 10:49:32 +01:00 |
|
r-vdp
|
93b7c32688
|
cargo update
|
2023-03-20 10:18:12 +01:00 |
|
r-vdp
|
07c0ec6729
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/5291dd0aa7a52d607fc952763ef60714e4c881d4' (2023-03-07)
→ 'github:ipetkov/crane/2552a2d1ccf33d43259a9e00f93dbacb9e6d6bed' (2023-03-20)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/ac718d02867a84b42522a0ece52d841188208f2c' (2023-03-15)
→ 'github:NixOS/nixpkgs/1603d11595a232205f03d46e635d919d1e1ec5b9' (2023-03-18)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/5c1af9b9d618e02a87cdd30a3022aec0b78cd9aa' (2023-03-16)
→ 'github:oxalica/rust-overlay/c680a0a4144bb0931f6cebd601a3978bbafc4f64' (2023-03-20)
|
2023-03-20 10:17:34 +01:00 |
|
r-vdp
|
6a7910bab1
|
Avoid an unneeded extra "etc" directory.
|
2023-03-17 15:47:56 +01:00 |
|
r-vdp
|
527e0269ff
|
Small optimisations in the systemd module.
|
2023-03-17 14:49:50 +01:00 |
|
R-VdP
|
843cd69eb4
|
Cargo update
|
2023-03-16 18:07:31 +01:00 |
|
R-VdP
|
cdd1c88f54
|
flake.lock: Update
Flake lock file updates:
• Updated input 'devshell':
'github:numtide/devshell/643d1857fea4e71e7f251cb574f59b1d63778085' (2023-03-03)
→ 'github:numtide/devshell/3e0e60ab37cd0bf7ab59888f5c32499d851edb47' (2023-03-16)
• Updated input 'flake-utils':
'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
→ 'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/5a1dc8acd977ff3dccd1328b7c4a6995429a656b' (2023-03-12)
→ 'github:NixOS/nixpkgs/ac718d02867a84b42522a0ece52d841188208f2c' (2023-03-15)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/1a20b9708962096ec2481eeb2ddca29ed747770a' (2023-03-09)
→ 'github:cachix/pre-commit-hooks.nix/32b1dbedfd77892a6e375737ef04d8efba634e9e' (2023-03-16)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
'github:NixOS/nixpkgs/2f9fd351ec37f5d479556cd48be4ca340da59b8f' (2023-01-15)
→ 'github:NixOS/nixpkgs/9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8' (2023-03-15)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/d907affef544f64bd6886fe6bcc5fa2495a82373' (2023-03-14)
→ 'github:oxalica/rust-overlay/5c1af9b9d618e02a87cdd30a3022aec0b78cd9aa' (2023-03-16)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/5ec73d38dde4c766a9ae19840fc6afa724096f00' (2023-03-12)
→ 'github:numtide/treefmt-nix/0f560a84215e79facd2833b20bfdc2033266f126' (2023-03-15)
|
2023-03-16 18:06:33 +01:00 |
|
R-VdP
|
e5f7e5f5f1
|
Use & instead of calling .as_path()
|
2023-03-16 13:44:59 +01:00 |
|
R-VdP
|
bacaae7878
|
Reduce duplication.
|
2023-03-16 12:05:13 +01:00 |
|
R-VdP
|
f569c59eee
|
Pass the correct closure to the update_state call.
|
2023-03-16 11:59:44 +01:00 |
|
R-VdP
|
687c533478
|
Pass the status along to the delete_action so that we can act correctly on non-empty dirs.
|
2023-03-16 11:59:20 +01:00 |
|
R-VdP
|
daae141949
|
Add WantedBy and RequiredBy to the JSON file produced by Nix.
|
2023-03-15 20:43:50 +01:00 |
|
R-VdP
|
126cad884b
|
Handle flake URIs ending in #
|
2023-03-15 20:43:04 +01:00 |
|
R-VdP
|
25ac812c53
|
Be a bit more flexible regarding the flake-uri argument.
|
2023-03-15 19:51:56 +01:00 |
|
R-VdP
|
ed99b39f6c
|
Improve log output.
|
2023-03-15 14:05:52 +01:00 |
|
R-VdP
|
306e055922
|
Check if an existing file is managed before copying.
|
2023-03-15 14:05:11 +01:00 |
|
R-VdP
|
95d8fe7583
|
Add EtcTree::get_status.
|
2023-03-14 21:06:06 +01:00 |
|
R-VdP
|
a3e5318442
|
Clean up use statements.
|
2023-03-14 21:05:49 +01:00 |
|
R-VdP
|
15dd869682
|
Move the systemsConfigs key so that every entry defines its system. Determine flake attrs automatically.
|
2023-03-14 20:37:35 +01:00 |
|
R-VdP
|
5ccc6b1bba
|
Remove nix-filter input.
|
2023-03-14 20:36:29 +01:00 |
|