Skip to content

Commit

Permalink
Merge pull request #30 from ryan4yin/fern
Browse files Browse the repository at this point in the history
feat: new aarch64-darwin host - fern
  • Loading branch information
ryan4yin authored Dec 20, 2023
2 parents a07dfbe + e70f726 commit 932e1a2
Show file tree
Hide file tree
Showing 10 changed files with 108 additions and 154 deletions.
17 changes: 12 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,25 @@ darwin-set-proxy:
sudo python3 scripts/darwin_set_proxy.py
sleep 1

darwin-rollback:
./result/sw/bin/darwin-rebuild rollback

ha: darwin-set-proxy
nix build .#darwinConfigurations.harmonica.system
./result/sw/bin/darwin-rebuild switch --flake .#harmonica
sleep 1

ha-rollback:
./result/sw/bin/darwin-rebuild rollback

ha-debug: darwin-set-proxy
nom build .#darwinConfigurations.harmonica.system --show-trace --verbose
./result/sw/bin/darwin-rebuild switch --flake .#harmonica --show-trace --verbose
sleep 1

fe: darwin-set-proxy
nix build .#darwinConfigurations.fern.system
./result/sw/bin/darwin-rebuild switch --flake .#fern

fe-debug: darwin-set-proxy
nom build .#darwinConfigurations.fern.system --show-trace --verbose
./result/sw/bin/darwin-rebuild switch --flake .#fern --show-trace --verbose


############################################################################
#
Expand Down
167 changes: 31 additions & 136 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@
# secrets management
agenix = {
# lock with git commit at 0.14.0
# url = "github:ryantm/agenix/54693c91d923fecb4cf04c4535e3d84f8dec7919";
url = "github:ryantm/agenix/54693c91d923fecb4cf04c4535e3d84f8dec7919";
# replaced with a type-safe reimplementation to get a better error message and less bugs.
url = "github:ryan4yin/ragenix";
# url = "github:ryan4yin/ragenix";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down
2 changes: 1 addition & 1 deletion home/base/desktop/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
checkmake
gcc # c/c++ compiler, required by nvim-treesitter!
llvmPackages.clang-unwrapped # c/c++ tools with clang-tools such as clangd
gdb
lldb

#-- python
Expand Down Expand Up @@ -149,6 +148,7 @@
else [
#-- verilog / systemverilog
verible
gdb
]
);
};
Expand Down
Loading

0 comments on commit 932e1a2

Please sign in to comment.