diff --git a/flake.nix b/flake.nix index 8f88899..52bd761 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,9 @@ "aarch64-linux" ]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; + overlays = [ + nur.overlays.default + ]; in { nixosConfigurations = { @@ -46,15 +49,13 @@ // { "irl-${system}" = home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { - inherit system; - overlays = [ nur.overlay ]; + inherit system overlays; }; modules = [ ./home/irl.nix ]; }; "irl-gui-${system}" = home-manager.lib.homeManagerConfiguration { pkgs = import nixpkgs { - inherit system; - overlays = [ nur.overlay ]; + inherit system overlays; }; modules = [ ./home/irl.nix diff --git a/home/irl.nix b/home/irl.nix index 8da7d4d..0b301ea 100644 --- a/home/irl.nix +++ b/home/irl.nix @@ -13,7 +13,8 @@ in config = { home.username = "irl"; - home.homeDirectory = "/home/irl"; + home.homeDirectory = + if lib.strings.hasSuffix "darwin" pkgs.system then "/Users/irl" else "/home/irl"; home.stateVersion = "25.05"; home.packages = with pkgs; [ fish