feat: rename system and update to latest syntax

This commit is contained in:
uttarayan21
2024-12-14 04:45:17 +05:30
parent 3312c69dbc
commit 57f7421221
3 changed files with 5 additions and 7 deletions

View File

@@ -183,7 +183,7 @@
isServer = true;
}
{
name = "Uttarayans-MacBook-Pro";
name = "kuro";
system = "aarch64-darwin";
user = "fs0c131y";
}

View File

@@ -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

View File

@@ -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
]