mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
32bf051ba4
This adds an implementation of switch-to-configuration that allows for closer interaction with the lifecycle of systemd units by using DBus APIs directly instead of using systemctl. It is disabled by default, but can be enabled by specifying `{ system.switch = { enable = false; enableNg = true; }; }`.
19 lines
413 B
TOML
19 lines
413 B
TOML
[package]
|
|
name = "switch-to-configuration"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.82"
|
|
dbus = "0.9.7"
|
|
glob = "0.3.1"
|
|
log = "0.4.21"
|
|
nix = { version = "0.28.0", features = ["fs", "signal"] }
|
|
regex = "1.10.4"
|
|
rust-ini = "0.21.0"
|
|
syslog = "6.1.1"
|
|
|
|
[build-dependencies]
|
|
dbus-codegen = "0.11.0"
|