nixos module needed some fixes

This commit is contained in:
Sebastian Moser
2026-05-14 08:17:01 +02:00
parent 55c85ad716
commit 2907d7e236
3 changed files with 17 additions and 17 deletions

View File

@@ -68,11 +68,7 @@ pub fn mount(sub_matches: &ArgMatches) -> MizeResult<()> {
pub fn daemon(sub_matches: &ArgMatches) -> MizeResult<()> {
let instance = Mize::with_config(config_from_cli_args(sub_matches)?)?;
// load all parts we need for any mize application... making a fat daemon for now.
// in the future parts should be loaded on demand (from .so files and from parts.mize.works)
ppc
instance.wait();
return Ok(());

View File

@@ -39,7 +39,7 @@ fn main() {
// match command
let result = match cli_matches.subcommand() {
// mi daemon
Some(("daemon", sub_matches)) => cli::run(sub_matches),
Some(("daemon", sub_matches)) => cli::daemon(sub_matches),
Some(("is-running", sub_matches)) => cli::is_running(sub_matches),