fix: code-cursor not supported on darwin from nix

This commit is contained in:
uttarayan21
2025-02-05 17:22:02 +05:30
parent 0a26d94f77
commit 9c8d29ed8d
2 changed files with 7 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ builtins.listToAttrs (builtins.map (device: {
inherit inputs; inherit inputs;
inherit device; inherit device;
}; };
users.${device.user}.imports = [../common/home.nix]; users.${device.user}.imports = [../home];
}; };
} }
]; ];

View File

@@ -1,3 +1,7 @@
{pkgs, ...}: { {
home.packages = [pkgs.code-cursor]; pkgs,
lib,
...
}: {
home.packages = [] ++ (lib.optionals pkgs.stdenv.isLinux [pkgs.code-cursor]);
} }