R-VdP
|
74d422bad6
|
Extra test case.
|
2023-03-10 21:39:28 +01:00 |
|
R-VdP
|
c7a66c76ed
|
WIP, etc tree implementation.
|
2023-03-10 21:18:35 +01:00 |
|
R-VdP
|
055d11cbdf
|
Add im crate.
|
2023-03-10 21:13:25 +01:00 |
|
R-VdP
|
acb47a0c0a
|
Use latest stable for now.
|
2023-03-10 21:12:59 +01:00 |
|
R-VdP
|
b337e6333c
|
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/c90c4025bb6e0c4eaf438128a3b2640314b1c58d' (2023-03-08)
→ 'github:NixOS/nixpkgs/1e2590679d0ed2cee2736e8b80373178d085d263' (2023-03-09)
|
2023-03-10 21:12:07 +01:00 |
|
R-VdP
|
c2128a0af2
|
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/3c5319ad3aa51551182ac82ea17ab1c6b0f0df89' (2023-03-04)
→ 'github:NixOS/nixpkgs/c90c4025bb6e0c4eaf438128a3b2640314b1c58d' (2023-03-08)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/382bee738397ca005206eefa36922cc10df8a21c' (2023-03-03)
→ 'github:cachix/pre-commit-hooks.nix/1a20b9708962096ec2481eeb2ddca29ed747770a' (2023-03-09)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/423b16bef17c9e8e9ea515e502c0c5d0f8e51f4a' (2023-03-07)
→ 'github:oxalica/rust-overlay/9f687941160108f89dd8bd2c650d32c15a35c7c7' (2023-03-10)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/f7fcf3770c6cec6fd5f995ba94e6e6376019b9ff' (2023-02-26)
→ 'github:numtide/treefmt-nix/ec39cfa24342fdf0b04ae44592a191c4765f9c74' (2023-03-08)
|
2023-03-10 09:22:22 +01:00 |
|
R-VdP
|
cf91b29724
|
WIP
|
2023-03-08 00:24:10 +01:00 |
|
R-VdP
|
0df7ab21e5
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/105e27adb70a9890986b6d543a67761cbc1964a2' (2023-03-04)
→ 'github:ipetkov/crane/5291dd0aa7a52d607fc952763ef60714e4c881d4' (2023-03-07)
• Updated input 'nix-filter':
'github:numtide/nix-filter/fc282c5478e4141842f9644c239a41cfe9586732' (2023-02-13)
→ 'github:numtide/nix-filter/aa9ff6ce4a7f19af6415fb3721eaa513ea6c763c' (2023-03-06)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/1a9f6285d441ff438a6a1422dc3fde109d8615bf' (2023-03-05)
→ 'github:oxalica/rust-overlay/423b16bef17c9e8e9ea515e502c0c5d0f8e51f4a' (2023-03-07)
|
2023-03-07 09:42:55 +01:00 |
|
R-VdP
|
0c072cadce
|
Adapt to numtide/devshell#247
|
2023-03-05 21:28:55 +01:00 |
|
R-VdP
|
e85f45246d
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/953b70da2813fb882c39890f2514e7db76fc8843' (2023-02-19)
→ 'github:ipetkov/crane/105e27adb70a9890986b6d543a67761cbc1964a2' (2023-03-04)
• Updated input 'devshell':
'github:numtide/devshell/71e3022e3ab20bbf1342640547ef5bc14fb43bf4' (2023-02-13)
→ 'github:numtide/devshell/643d1857fea4e71e7f251cb574f59b1d63778085' (2023-03-03)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d0d55259081f0b97c828f38559cad899d351cad1' (2023-02-21)
→ 'github:NixOS/nixpkgs/3c5319ad3aa51551182ac82ea17ab1c6b0f0df89' (2023-03-04)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
→ 'github:cachix/pre-commit-hooks.nix/382bee738397ca005206eefa36922cc10df8a21c' (2023-03-03)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/6c9e8ea3ba73a9fed29ddc1cc52ade8e5c946a8d' (2023-02-22)
→ 'github:oxalica/rust-overlay/1a9f6285d441ff438a6a1422dc3fde109d8615bf' (2023-03-05)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/819dd7f076832838bba238eceef9a3dbfc63f5d0' (2023-02-11)
→ 'github:numtide/treefmt-nix/f7fcf3770c6cec6fd5f995ba94e6e6376019b9ff' (2023-02-26)
|
2023-03-05 21:21:51 +01:00 |
|
R-VdP
|
19f1e1352b
|
flake.lock: Update
Flake lock file updates:
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/b69883faca9542d135fa6bab7928ff1b233c167f' (2023-02-20)
→ 'github:NixOS/nixpkgs/d0d55259081f0b97c828f38559cad899d351cad1' (2023-02-21)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/f02d590b871a6241dc55d41e799bc530e28214ce' (2023-02-21)
→ 'github:oxalica/rust-overlay/6c9e8ea3ba73a9fed29ddc1cc52ade8e5c946a8d' (2023-02-22)
|
2023-02-22 12:51:28 +01:00 |
|
R-VdP
|
06bc73beae
|
Copy the closure when running a build with --target_host.
|
2023-02-21 12:15:46 +01:00 |
|
R-VdP
|
d331287116
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/cfb6efcfc706e21c84682171581168e591b265d9' (2023-02-16)
→ 'github:ipetkov/crane/953b70da2813fb882c39890f2514e7db76fc8843' (2023-02-19)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/28319deb5ab05458d9cd5c7d99e1a24ec2e8fc4b' (2023-02-15)
→ 'github:NixOS/nixpkgs/b69883faca9542d135fa6bab7928ff1b233c167f' (2023-02-20)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798' (2023-02-16)
→ 'github:cachix/pre-commit-hooks.nix/c9495f017f67a11e9c9909b032dc7762dfc853cf' (2023-02-20)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/3bab7ae4a80de02377005d611dc4b0a13082aa7c' (2023-02-16)
→ 'github:oxalica/rust-overlay/f02d590b871a6241dc55d41e799bc530e28214ce' (2023-02-21)
|
2023-02-21 10:52:49 +01:00 |
|
R-VdP
|
3280073a0f
|
Implement --target-host
|
2023-02-20 20:19:54 +01:00 |
|
R-VdP
|
49f30480ea
|
Clean up format strings.
|
2023-02-17 13:29:41 +01:00 |
|
R-VdP
|
f861aa6d2a
|
Avoid unneeded clone.
|
2023-02-17 13:22:38 +01:00 |
|
R-VdP
|
d428df9c72
|
Add a deactivation script to the system-manager profile.
|
2023-02-17 12:37:02 +01:00 |
|
R-VdP
|
4cde2facf9
|
When building, print the raw store path to stdout.
|
2023-02-17 11:55:22 +01:00 |
|
R-VdP
|
71c2e5bf21
|
Use anyhow::bail!
|
2023-02-17 11:51:12 +01:00 |
|
R-VdP
|
1cce38559c
|
Handle nix output better.
|
2023-02-17 11:49:16 +01:00 |
|
R-VdP
|
9bd82bc098
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/6fb400ec631b22ccdbc7090b38207f7fb5cfb5f2' (2023-02-12)
→ 'github:ipetkov/crane/cfb6efcfc706e21c84682171581168e591b265d9' (2023-02-16)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/d917136f550a8c36efb1724390c7245105f79023' (2023-02-12)
→ 'github:NixOS/nixpkgs/28319deb5ab05458d9cd5c7d99e1a24ec2e8fc4b' (2023-02-15)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/1583077009b6ef4236d1899c0f43cf1ce1db8085' (2023-02-13)
→ 'github:cachix/pre-commit-hooks.nix/5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798' (2023-02-16)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/1bd5d7bb2f31cbc43fb8f722e3a39a45ee4dcec8' (2023-02-13)
→ 'github:oxalica/rust-overlay/3bab7ae4a80de02377005d611dc4b0a13082aa7c' (2023-02-16)
|
2023-02-16 23:19:05 +01:00 |
|
R-VdP
|
e28ba15456
|
Add a deactivate subcommand.
|
2023-02-16 16:43:05 +01:00 |
|
R-VdP
|
e2f386c21e
|
Set stateVersion by default.
|
2023-02-15 15:12:39 +01:00 |
|
R-VdP
|
40c413d25a
|
Set defaults for the system-manager options.
|
2023-02-15 15:11:44 +01:00 |
|
R-VdP
|
62dd6e21d1
|
Fix nix package name.
|
2023-02-15 14:20:03 +01:00 |
|
R-VdP
|
642c8be096
|
Add documentation.
|
2023-02-15 14:16:47 +01:00 |
|
R-VdP
|
0d1067ac72
|
Implement better CLI API (closes #7).
|
2023-02-15 12:51:44 +01:00 |
|
R-VdP
|
972d27b977
|
Store the profile in a subdirectory of /nix/var/nix/profiles
Otherwise the grub installation script treats them as system profiles and tries to include them in the bootloader menu (See 5eb6139626/nixos/modules/system/boot/loader/grub/install-grub.pl (L570)).
|
2023-02-15 11:13:43 +01:00 |
|
R-VdP
|
e2e0e74a74
|
Improve error handling.
|
2023-02-14 13:39:21 +01:00 |
|
R-VdP
|
cf7d0f76d3
|
Fix the makeServiceConfig function.
|
2023-02-14 13:39:10 +01:00 |
|
R-VdP
|
b3c7f71456
|
Implement files under /etc
|
2023-02-13 20:24:23 +01:00 |
|
R-VdP
|
8b3bba30af
|
flake.lock: Update
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/8c34e5ecadc691dd64b31b9317eb35d7cdaa636b' (2023-02-09)
→ 'github:ipetkov/crane/6fb400ec631b22ccdbc7090b38207f7fb5cfb5f2' (2023-02-12)
• Updated input 'devshell':
'github:numtide/devshell/6fe837bb4f540a1832522ec54604c453757836b2' (2023-02-07)
→ 'github:numtide/devshell/71e3022e3ab20bbf1342640547ef5bc14fb43bf4' (2023-02-13)
• Updated input 'flake-utils':
'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02)
→ 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13)
• Updated input 'nix-filter':
'github:numtide/nix-filter/e1b2f96c2a31415f362268bc48c3fccf47dff6eb' (2023-02-02)
→ 'github:numtide/nix-filter/fc282c5478e4141842f9644c239a41cfe9586732' (2023-02-13)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/fab09085df1b60d6a0870c8a89ce26d5a4a708c2' (2023-02-07)
→ 'github:NixOS/nixpkgs/d917136f550a8c36efb1724390c7245105f79023' (2023-02-12)
• Updated input 'pre-commit-hooks':
'github:cachix/pre-commit-hooks.nix/ab608394886fb04b8a5df3cb0bab2598400e3634' (2023-02-06)
→ 'github:cachix/pre-commit-hooks.nix/1583077009b6ef4236d1899c0f43cf1ce1db8085' (2023-02-13)
• Updated input 'rust-overlay':
'github:oxalica/rust-overlay/50ee0fa4d0eeadd97c63be57e14b01d531e79ed7' (2023-02-09)
→ 'github:oxalica/rust-overlay/1bd5d7bb2f31cbc43fb8f722e3a39a45ee4dcec8' (2023-02-13)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/e9033eca3d7139fd499f310023ddc3bb5abff515' (2023-02-09)
→ 'github:numtide/treefmt-nix/819dd7f076832838bba238eceef9a3dbfc63f5d0' (2023-02-11)
|
2023-02-13 20:22:09 +01:00 |
|
Ramses
|
42c2008170
|
Merge pull request #6 from R-VdP/rust_flags_systemd
Using systemdMinimal takes care of other native build deps.
|
2023-02-10 17:00:02 +01:00 |
|
R-VdP
|
fc6909bbc7
|
Using systemdMinimal takes care of other native build deps.
|
2023-02-10 12:56:55 +00:00 |
|
Ramses
|
aa46dc997d
|
Merge pull request #5 from R-VdP/fix/devshell
Enable rust to compile in dev shell with required system libraries
|
2023-02-10 13:44:06 +01:00 |
|
R-VdP
|
b758c270c7
|
Reload the systemd daemon at the right time.
|
2023-02-10 11:19:10 +00:00 |
|
Jean-François Roche
|
c80976f7b7
|
Enable rust to compile with required system libraries
|
2023-02-10 10:47:34 +00:00 |
|
Jean-François Roche
|
0ffc67051e
|
Do not build when entering the shell
|
2023-02-10 10:47:14 +00:00 |
|
R-VdP
|
49f92dd6b8
|
Use crane to build faster.
|
2023-02-09 16:26:23 +00:00 |
|
R-VdP
|
7a8fe92371
|
Better argument name.
|
2023-02-09 15:05:42 +00:00 |
|
R-VdP
|
9aa059887b
|
Work on properly implementing the activation of systemd services.
|
2023-02-09 15:04:27 +00:00 |
|
R-VdP
|
c3be9ceb19
|
Write generation state into a state file and restructure the services.json file produced by nix.
|
2023-02-09 10:25:04 +00:00 |
|
R-VdP
|
8f31818a27
|
Move the profile to the system level.
|
2023-02-08 14:31:09 +00:00 |
|
R-VdP
|
1620a81d15
|
Split code in modules.
|
2023-02-08 14:10:16 +00:00 |
|
R-VdP
|
c7a481976d
|
Create more services to test activation logic.
|
2023-02-07 23:19:25 +00:00 |
|
R-VdP
|
50b4212a06
|
Activate services using DBus.
|
2023-02-07 23:19:02 +00:00 |
|
R-VdP
|
efe60a960e
|
Switch to Rust 1.66.0 and remove RUST_LOG which caused all Rust apps to log.
|
2023-02-03 16:00:25 +00:00 |
|
R-VdP
|
b291685a98
|
Add auto-generated DBus bindings.
Code largely taken from git.sr.ht/~rycee/sd-switch
|
2023-02-03 15:58:42 +00:00 |
|
R-VdP
|
4592e2bacc
|
Improve error handling and logging.
|
2023-02-03 11:17:20 +00:00 |
|
R-VdP
|
10b7ba5954
|
Small fixes.
|
2023-02-03 00:15:25 +00:00 |
|