From 57f7421221e6a26999ff29472ced4340cab2502a Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sat, 14 Dec 2024 04:45:17 +0530 Subject: [PATCH] feat: rename system and update to latest syntax --- flake.nix | 2 +- justfile | 8 +++----- overlays.nix | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index d7c3dae0..5bf20304 100644 --- a/flake.nix +++ b/flake.nix @@ -183,7 +183,7 @@ isServer = true; } { - name = "Uttarayans-MacBook-Pro"; + name = "kuro"; system = "aarch64-darwin"; user = "fs0c131y"; } diff --git a/justfile b/justfile index cc760c75..7a63c266 100644 --- a/justfile +++ b/justfile @@ -2,11 +2,11 @@ set dotenv-load # clean := `git diff-index --quiet --cached HEAD --` [macos] -install: local - darwin-rebuild switch --flake . +install: + nix run nix-darwin -- switch --flake . [linux] -install: local +install: NIX_BUILD_CORES=0 sudo nixos-rebuild switch --flake . [macos] @@ -23,8 +23,6 @@ nix args: home: nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace -local: - nix flake update neovim nvim: nix run .#neovim diff --git a/overlays.nix b/overlays.nix index 6696857b..e29a05a2 100644 --- a/overlays.nix +++ b/overlays.nix @@ -233,7 +233,7 @@ in nix-index-db shell-scipts misc-applications - inputs.nur.overlay + inputs.nur.overlays.default inputs.rust-overlay.overlays.default csshacks ]