[nix] add revision, fix code

This commit is contained in:
Dhananjay Balan 2024-03-28 15:32:27 +01:00
parent 2dc607fd20
commit a1d4ecb756

View File

@ -76,7 +76,6 @@ We end up with
# $ darwin-rebuild build --flake .#MacBook-Pro # $ darwin-rebuild build --flake .#MacBook-Pro
darwinConfigurations."MacBook-Pro" = darwinConfigurations."MacBook-Pro" =
nix-darwin.lib.darwinSystem { nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ ./configuration.nix ]; modules = [ ./configuration.nix ];
}; };
@ -256,7 +255,6 @@ Also the updated `flake.nix` is now
# $ darwin-rebuild build --flake .#MacBook-Pro # $ darwin-rebuild build --flake .#MacBook-Pro
darwinConfigurations."MacBook-Pro" = darwinConfigurations."MacBook-Pro" =
nix-darwin.lib.darwinSystem { nix-darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [ modules = [
./configuration.nix ./configuration.nix
@ -509,3 +507,7 @@ This setup helps me share configuration with my other machines; they are just an
``` ```
</details> </details>
## Revisions
1. 28-03-2024: Removed [redundant `system` attribute](https://functional.cafe/@roberth/112162631890741471) -- Thx [@roberth@functional.cafe](https://functional.cafe/@roberth)