about summary refs log tree commit diff
path: root/nix/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-03-11 17:26:22 -0700
committerFranck Cuny <franck@fcuny.net>2024-03-11 17:26:22 -0700
commit1248d431ff09c15df666b381059efb8884718a9b (patch)
tree7959ce50cd52a99998430b13d0e47feff9630789 /nix/flake
parentreorganize common files for hosts (diff)
downloadworld-1248d431ff09c15df666b381059efb8884718a9b.tar.gz
switch to absolute path
Diffstat (limited to 'nix/flake')
-rw-r--r--nix/flake/hosts.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nix/flake/hosts.nix b/nix/flake/hosts.nix
index a6390e5..36821b6 100644
--- a/nix/flake/hosts.nix
+++ b/nix/flake/hosts.nix
@@ -17,9 +17,9 @@ let
             };
           };
         }
-        ../../hosts/common/homebrew.nix
-        ../../hosts/common/macos.nix
-        ../../hosts/common/nix.nix
+        "${self}/nix/hosts/common/homebrew.nix"
+        "${self}/nix/hosts/common/macos.nix"
+        "${self}/nix/hosts/common/nix.nix"
         path
         {
           nixpkgs.overlays = [
@@ -35,8 +35,8 @@ in
   flake = mkMerge [
     {
       darwinConfigurations = {
-        mba-fcuny = mkDarwinConfig "aarch64-darwin" ../../hosts/mba;
-        HQ-C02FK3Q7MD6T = mkDarwinConfig "x86_64-darwin" ../../hosts/work;
+        mba-fcuny = mkDarwinConfig "aarch64-darwin" "${self}/nix/hosts/mba";
+        HQ-C02FK3Q7MD6T = mkDarwinConfig "x86_64-darwin" "${self}/nix/hosts/work";
       };
     }
   ];