diff --git a/src/home.rs b/src/home.rs index 18331c8..436eb92 100644 --- a/src/home.rs +++ b/src/home.rs @@ -56,7 +56,7 @@ impl HomeRebuildArgs { debug!("hm_config_name: {}", hm_config_name); let flakeref = format!( - "{}#homeConfigurations.{}.config.home.activationPackage", + "{}#homeConfigurations.\"{}\".config.home.activationPackage", &self.common.flakeref.deref(), hm_config_name ); diff --git a/src/nixos.rs b/src/nixos.rs index 246c1d1..bfb0cf8 100644 --- a/src/nixos.rs +++ b/src/nixos.rs @@ -43,7 +43,7 @@ impl OsRebuildArgs { debug!("out_link {:?}", out_link); let flake_output = format!( - "{}#nixosConfigurations.{:?}.config.system.build.toplevel", + "{}#nixosConfigurations.\"{:?}\".config.system.build.toplevel", &self.common.flakeref.deref(), hostname );