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; isServer = true;
} }
{ {
name = "Uttarayans-MacBook-Pro"; name = "kuro";
system = "aarch64-darwin"; system = "aarch64-darwin";
user = "fs0c131y"; user = "fs0c131y";
} }

View File

@@ -2,11 +2,11 @@ set dotenv-load
# clean := `git diff-index --quiet --cached HEAD --` # clean := `git diff-index --quiet --cached HEAD --`
[macos] [macos]
install: local install:
darwin-rebuild switch --flake . nix run nix-darwin -- switch --flake .
[linux] [linux]
install: local install:
NIX_BUILD_CORES=0 sudo nixos-rebuild switch --flake . NIX_BUILD_CORES=0 sudo nixos-rebuild switch --flake .
[macos] [macos]
@@ -23,8 +23,6 @@ nix args:
home: home:
nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace nix --extra-experimental-features "nix-command flakes" run home-manager/master -- switch --flake . --show-trace
local:
nix flake update neovim
nvim: nvim:
nix run .#neovim nix run .#neovim

View File

@@ -233,7 +233,7 @@ in
nix-index-db nix-index-db
shell-scipts shell-scipts
misc-applications misc-applications
inputs.nur.overlay inputs.nur.overlays.default
inputs.rust-overlay.overlays.default inputs.rust-overlay.overlays.default
csshacks csshacks
] ]