diff --git a/flake.lock b/flake.lock index 2cca3fb..bd89cb7 100644 --- a/flake.lock +++ b/flake.lock @@ -104,6 +104,23 @@ "url": "https://git.madhouse-project.org/algernon/avalanche.git" } }, + "brew-src": { + "flake": false, + "locked": { + "lastModified": 1769363988, + "narHash": "sha256-BiGPeulrDVetXP+tjxhMcGLUROZAtZIhU5m4MqawCfM=", + "owner": "Homebrew", + "repo": "brew", + "rev": "d01011cac6d72032c75fd2cd9489909e95d9faf2", + "type": "github" + }, + "original": { + "owner": "Homebrew", + "ref": "5.0.12", + "repo": "brew", + "type": "github" + } + }, "disko": { "inputs": { "nixpkgs": "nixpkgs_2" @@ -795,6 +812,45 @@ "url": "https://git.madhouse-project.org/iocaine/nam-shub-of-enki/archive/iocaine-3.x.tar.gz" } }, + "nix-darwin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1770184146, + "narHash": "sha256-DsqnN6LvXmohTRaal7tVZO/AKBuZ02kPBiZKSU4qa/k=", + "owner": "nix-darwin", + "repo": "nix-darwin", + "rev": "0d7874ef7e3ba02d58bebb871e6e29da36fa1b37", + "type": "github" + }, + "original": { + "owner": "nix-darwin", + "ref": "master", + "repo": "nix-darwin", + "type": "github" + } + }, + "nix-homebrew": { + "inputs": { + "brew-src": "brew-src" + }, + "locked": { + "lastModified": 1769437432, + "narHash": "sha256-8d7KnCpT2LweRvSzZYEGd9IM3eFX+A78opcnDM0+ndk=", + "owner": "zhaofengli", + "repo": "nix-homebrew", + "rev": "a5409abd0d5013d79775d3419bcac10eacb9d8c5", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "repo": "nix-homebrew", + "type": "github" + } + }, "nixocaine": { "inputs": { "iocaine-stable": "iocaine-stable", @@ -1172,6 +1228,8 @@ "hypr-contrib": "hypr-contrib", "hyprland": "hyprland", "hyprland-plugins": "hyprland-plugins", + "nix-darwin": "nix-darwin", + "nix-homebrew": "nix-homebrew", "nixocaine": "nixocaine", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_5", diff --git a/hosts/azalea/default.nix b/hosts/azalea/default.nix index fab7d42..5517758 100644 --- a/hosts/azalea/default.nix +++ b/hosts/azalea/default.nix @@ -13,8 +13,21 @@ #./../../modules/services/automount.nix ]; + environment.systemPackages = [ + pkgs.vim + ]; + security.pam.enableSudoTouchIdAuth = true; system.primaryUser = username; + + nix.settings.experimental-features = "nix-command flakes"; + + system.configurationRevision = self.rev or self.dirtyRev or null; + + system.stateVersion = 6; + + nixpkgs.hostPlatform = "aarch64-darwin"; + homebrew = { enable = true; onActivation = { @@ -27,7 +40,6 @@ no_quarantine = true; }; casks = [ - # "steam" "libreoffice" "signal" "handbrake"