Commit graph

660 commits

Author SHA1 Message Date
Jean-François Roche
3219a927e1
Configure nix settings (#257)
Only manage /etc/nix/nix.conf options based on nixpkgs options.
We cannot control nix-gc / nix-daemon services yet as they rely on users.
2025-08-21 00:24:02 +02:00
Jean-François Roche
ba09b781b1
fix: return an error if the activation of tmp files fails (#255)
We want system-manager to return an error if the activation of tmp files fails.
2025-08-21 00:23:50 +02:00
Ramses
c64d185d2c
Merge pull request #256 from numtide/chore/update-nix-vm-test
Update nix-vm-test
2025-08-20 23:56:17 +03:00
Jean-François Roche
bc262933ac chore: update fmt 2025-08-20 22:30:46 +02:00
Jean-François Roche
4c724c1ece Update nix-vm-test 2025-08-20 22:30:07 +02:00
Ramses
a5d6c2b26a
Merge pull request #237 from numtide/renovate/clap-4.x-lockfile
fix(deps): update rust crate clap to v4.5.45
2025-08-18 09:28:08 +03:00
Ramses
2414e31f47
Merge pull request #250 from numtide/renovate/thiserror-2.x-lockfile
fix(deps): update rust crate thiserror to v2.0.15
2025-08-18 09:27:21 +03:00
renovate[bot]
62f4e17627
fix(deps): update rust crate thiserror to v2.0.15 2025-08-16 18:31:16 +00:00
renovate[bot]
fe9dd9546e
fix(deps): update rust crate clap to v4.5.45 2025-08-12 21:08:42 +00:00
renovate[bot]
c3689ad206
fix(deps): update rust crate serde_json to v1.0.142 (#245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 12:37:50 +02:00
renovate[bot]
de56ed844d
chore(deps): update actions/checkout action to v5 (#247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 12:37:42 +02:00
renovate[bot]
8138cc3ec5
fix(deps): update rust crate anyhow to v1.0.99 (#248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 12:37:33 +02:00
renovate[bot]
41487e8c7f
fix(deps): update rust crate thiserror to v2.0.14 (#249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 12:37:23 +02:00
renovate[bot]
7865b4a207
fix(deps): update rust crate serde_json to v1.0.141 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-02 13:51:14 +02:00
Silver
7ae6c9fa22
fix: pass hostname as a quoted string (#243) 2025-08-02 13:50:38 +02:00
renovate[bot]
c6850451ef
fix(deps): update rust crate nix to v0.30.1 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 11:34:52 +02:00
github-actions[bot]
8c74729d43
Bump flake.lock and Cargo.lock (#193)
* flake.lock: Update

Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c6e957d81b96751a3d5967a0fd73694f303cc914?narHash=sha256-nLivjIygCiqLp5QcL7l56Tca/elVqM9FG1hGd9ZSsrg%3D' (2025-02-03)
  → 'github:NixOS/nixpkgs/063f43f2dbdef86376cc29ad646c45c46e93234c?narHash=sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o%3D' (2025-05-23)

* cargo update

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-05-26 09:04:46 +02:00
renovate[bot]
6c7bdbcd7e
fix(deps): update rust crate nix to 0.30.0 (#223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 09:04:30 +02:00
renovate[bot]
c79c78502f
fix(deps): update rust crate anyhow to v1.0.98 (#222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 09:04:21 +02:00
renovate[bot]
13fc0ba647
fix(deps): update rust crate log to v0.4.27 (#217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 09:04:13 +02:00
renovate[bot]
590d4b567a
fix(deps): update rust crate clap to v4.5.38 (#215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 09:04:03 +02:00
renovate[bot]
076778efaf
fix(deps): update rust crate serde to v1.0.219 (#214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 09:03:54 +02:00
[eureka@nixos]
1c2ce69f32
doc: Add system-manager manual mdBook (#206)
* doc: Add system-manager manual mdBook

* Add basic nixos installation steps

* Continue testing for nixos installation

* Add more info regarding nix channel usage

* Add some notes to self

* Add README to manual

* add ad-hoc section, and do some re-arranging

* Add systemd service module example to introduction.md

* wip usage

* add selinux and minimal usage examples

* add remaining manual sections
2025-05-26 09:02:56 +02:00
Nikolay Yakimov
fcc225c5aa
Support implicit systemConfigs.${currentSystem}.* paths (#235)
This implements support for multiarch systemConfigs.

First, it checks for `systemConfigs.${currentSystem}.${attr}`.
`currentSystem` is evaluated ahead of time in a separate Nix invocation
for simplicitly. Then, if that does not exist, it falls back to
`systemConfigs.${attr}`.

Closes #230
Closes #233

---------

Co-authored-by: [eureka@nixos] <57543709+eureka-cpu@users.noreply.github.com>
2025-05-25 20:50:42 -05:00
Jonas Chevalier
94f1c8d9c5
nix: splice the package properly (#234)
Use callPackage on the wrapper as well. Fixes #232.

That change also breaks the public interface a bit to keep things
simple.
2025-05-22 10:52:50 +02:00
[eureka@nixos]
64ca98a15b
Merge pull request #229 from nickecurran/nickecurran/fix-cross-compilation
Fix cross compilation by using pkgs from the build host when creating the binary wrapper for system-manager app.
2025-05-20 15:51:54 -07:00
Nick Curran
c17203c23a Fix cross compilation issue by explicitly using makeBinaryWrapper from
pkgsBuildHost
2025-05-08 20:43:54 -04:00
[eureka@nixos]
803322102e
Merge pull request #220 from commiterate/support_attrset_string_key
Support attribute sets with string keys
2025-04-08 12:12:08 -07:00
commiterate
1b55512e1e Support attribute sets with string keys 2025-04-06 22:11:48 -04:00
[eureka@nixos]
1027975497
Merge pull request #216 from numtide/eureka-cpu/add-unwrapped 2025-03-19 14:39:23 -07:00
eureka-cpu
05ff1d9c91 fix: add system-manager-unwrapped back to packages 2025-03-19 13:23:21 -07:00
Ramses
9f8f766c3b
Merge pull request #211 from numtide/renovate/serde_json-1.x-lockfile
fix(deps): update rust crate serde_json to v1.0.140
2025-03-03 13:55:29 +01:00
Ramses
073ef7e1e1
Merge pull request #209 from numtide/renovate/thiserror-2.x-lockfile
fix(deps): update rust crate thiserror to v2.0.12
2025-03-03 13:53:59 +01:00
Ramses
3e2959fa80
Merge pull request #208 from numtide/renovate/anyhow-1.x-lockfile
fix(deps): update rust crate anyhow to v1.0.97
2025-03-03 13:53:47 +01:00
Ramses
d9f11e5b63
Merge pull request #204 from numtide/eureka-cpu/install-nix
doc: Document SELinux support for nix installer in README
2025-03-03 13:53:18 +01:00
renovate[bot]
2b55f36022
fix(deps): update rust crate serde_json to v1.0.140 2025-03-03 09:55:50 +00:00
renovate[bot]
67322a27ae
fix(deps): update rust crate thiserror to v2.0.12 2025-03-03 07:08:04 +00:00
renovate[bot]
cc07d08c55
fix(deps): update rust crate anyhow to v1.0.97 2025-03-03 07:05:50 +00:00
eureka-cpu
40b7ad80e2 doc: Document SELinux support for nix installer in README 2025-02-28 21:38:23 -08:00
[eureka@nixos]
2e5bcfaf4a
doc: Document impure eval in README (#203)
* doc: Document impure eval in README

* Use official wiki link

Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>

---------

Co-authored-by: Jonas Chevalier <zimbatm@zimbatm.com>
2025-02-28 10:45:40 +01:00
Ramses
db89a99a45
Merge pull request #195 from numtide/renovate/clap-4.x-lockfile
fix(deps): update rust crate clap to v4.5.31
2025-02-27 21:14:05 +01:00
Ramses
b98d53b14a
Merge pull request #196 from numtide/renovate/anyhow-1.x-lockfile
fix(deps): update rust crate anyhow to v1.0.96
2025-02-27 21:13:57 +01:00
Ramses
91aefdee9d
Merge pull request #197 from numtide/renovate/serde-monorepo
fix(deps): update rust crate serde to v1.0.218
2025-02-27 21:13:48 +01:00
Ramses
2f1cee3049
Merge pull request #198 from numtide/renovate/serde_json-1.x-lockfile
fix(deps): update rust crate serde_json to v1.0.139
2025-02-27 21:13:40 +01:00
Ramses
90cc073c3f
Merge pull request #200 from numtide/renovate/log-0.x-lockfile
fix(deps): update rust crate log to v0.4.26
2025-02-27 21:13:29 +01:00
Ramses
fb88818c0e
Merge pull request #202 from numtide/eureka-cpu/fix-clippy-warnings
chore: Fix clippy warnings
2025-02-27 21:13:11 +01:00
eureka-cpu
3378cb641a chore: Fix clippy warnings 2025-02-27 12:07:01 -08:00
renovate[bot]
c61d56558b
fix(deps): update rust crate clap to v4.5.31 2025-02-24 16:24:11 +00:00
renovate[bot]
44c580d62e
fix(deps): update rust crate log to v0.4.26 2025-02-21 09:57:49 +00:00
renovate[bot]
827ef8f489
fix(deps): update rust crate serde_json to v1.0.139 2025-02-20 10:42:39 +00:00