Skip to content

Commit

Permalink
fix(flake): dont use darwinHosts
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborpilz committed Sep 25, 2024
1 parent 4a3d2b0 commit 40869f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
homeDirectory = if (isDarwin) then "/Users/${user}" else "/home/${user}";
pkgs = self.channels.${system}.nixpkgs;
enableSyncthing = (system == "x86_64-linux");
hosts = if (isDarwin) then (lib.attrNames self.darwinConfigurations) else (lib.attrNames self.nixosConfigurations);
hosts = lib.attrNames self.nixosConfigurations;
mkHostAliases = map (h: "${user}@${h}") hosts;
aliases = mkHostAliases;
homeConfiguration = home-manager.lib.homeManagerConfiguration {
Expand Down

0 comments on commit 40869f4

Please sign in to comment.