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 |
|
R-VdP
|
a9632c07d1
|
Improve how we save the service-manager profile.
|
2023-02-03 00:08:12 +00:00 |
|
R-VdP
|
c83afe6788
|
More detailed output when activating.
|
2023-02-02 17:44:13 +00:00 |
|
R-VdP
|
f784f06107
|
Continue implementing basic features.
|
2023-02-02 17:31:10 +00:00 |
|
R-VdP
|
fbe9f2eabb
|
Allow passing in a list of modules to the serviceConfig.
|
2023-02-02 09:27:40 +00:00 |
|
R-VdP
|
23ef158676
|
lib does not depend on the system.
|
2023-02-02 09:23:35 +00:00 |
|
R-VdP
|
4f9dbd70f1
|
Avoid recursive attrsets.
|
2023-02-02 09:02:09 +00:00 |
|
R-VdP
|
046d73c1a9
|
Use follows to avoid multiple copies of dependencies.
|
2023-02-02 09:00:08 +00:00 |
|
Ramses
|
23e3dcf059
|
Merge pull request #1 from jfroche/chore/nix-shell
Add nix shell & some checks
|
2023-02-02 09:35:45 +01:00 |
|
Jean-François Roche
|
17576e2ca2
|
Fix clippy error
|
2023-02-02 00:55:38 +01:00 |
|
Jean-François Roche
|
add2910abf
|
Fix formatting using nixpgks-fmt
|
2023-02-02 00:55:37 +01:00 |
|
Jean-François Roche
|
942ed011c9
|
Add nix shell and some checks
|
2023-02-02 00:55:37 +01:00 |
|
R-VdP
|
929da3e3c3
|
Move nix code under nix/
|
2023-02-01 17:39:07 +00:00 |
|
R-VdP
|
fe6fb907f7
|
Add an activation script.
|
2023-02-01 17:36:07 +00:00 |
|
R-VdP
|
349255de8d
|
Register a new GC root when creating a new generation.
|
2023-02-01 17:28:02 +00:00 |
|
R-VdP
|
255818a001
|
Move lib into its own file.
|
2023-02-01 17:05:44 +00:00 |
|
R-VdP
|
dbe192d11e
|
The caller defines the system.
|
2023-02-01 16:59:24 +00:00 |
|
R-VdP
|
504f413c02
|
Set the services to be included as an option in the module.
|
2023-02-01 16:57:15 +00:00 |
|
R-VdP
|
95bd335d8c
|
Move the function to generate the store path into lib.
|
2023-02-01 16:47:43 +00:00 |
|
R-VdP
|
6a849d71d0
|
First version.
|
2023-02-01 16:29:02 +00:00 |
|