Skip to content

Commit

Permalink
Merge pull request #140 from obreitwi/fix/dot_in_user_hostname
Browse files Browse the repository at this point in the history
fix: handle dots in username/hostname
  • Loading branch information
viperML authored Aug 7, 2024
2 parents 324ed46 + ea487aa commit dda613e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down
2 changes: 1 addition & 1 deletion src/nixos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
Expand Down

0 comments on commit dda613e

Please sign in to comment.