feat: ⬆️ Upgrade nix deps
This commit is contained in:
20
flake.lock
generated
20
flake.lock
generated
@ -3,16 +3,16 @@
|
|||||||
"brew-src": {
|
"brew-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749511373,
|
"lastModified": 1751910772,
|
||||||
"narHash": "sha256-7u1TdHQaUCzzgf/n8T3bQosuYXyNBEPU/3WQQqozE5o=",
|
"narHash": "sha256-jQNdIkq2iRDNWskd5f8kX6q9BO/CBSXhMH41WNRft8E=",
|
||||||
"owner": "Homebrew",
|
"owner": "Homebrew",
|
||||||
"repo": "brew",
|
"repo": "brew",
|
||||||
"rev": "7b4ef99fed96966269ee35994407fa4c06097a4d",
|
"rev": "700d67a85e0129ab8a893ff69246943479e33df1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Homebrew",
|
"owner": "Homebrew",
|
||||||
"ref": "4.5.6",
|
"ref": "4.5.9",
|
||||||
"repo": "brew",
|
"repo": "brew",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@ -42,11 +42,11 @@
|
|||||||
"brew-src": "brew-src"
|
"brew-src": "brew-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749952250,
|
"lastModified": 1752160973,
|
||||||
"narHash": "sha256-V2ix0knpdJXirQ+4pjbnggjdSALTsFWGIP/NDpaQkdU=",
|
"narHash": "sha256-BCC8KB7TEtwv7vZN1WDu870tRbXtzUcmF9xNr6ws5Wc=",
|
||||||
"owner": "zhaofengli-wip",
|
"owner": "zhaofengli-wip",
|
||||||
"repo": "nix-homebrew",
|
"repo": "nix-homebrew",
|
||||||
"rev": "37126f06f4890f019af3d7606ce5d30a457afcd0",
|
"rev": "69c1aa2f136f3c3326d9b6770e0eb54f12832971",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -57,11 +57,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751949589,
|
"lastModified": 1752747119,
|
||||||
"narHash": "sha256-mgFxAPLWw0Kq+C8P3dRrZrOYEQXOtKuYVlo9xvPntt8=",
|
"narHash": "sha256-2Kp9St3Pbsmu+xMsobLcgzzUxPvZR7alVJWyuk2BAPc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9b008d60392981ad674e04016d25619281550a9d",
|
"rev": "fa0ef8a6bb1651aa26c939aeb51b5f499e86b0ec",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
20
flake.nix
20
flake.nix
@ -1,13 +1,11 @@
|
|||||||
{
|
{
|
||||||
description = "Louis Darwin system flake";
|
description = "Louis Darwin system flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
|
nix-homebrew.url = "github:zhaofengli-wip/nix-homebrew";
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||||
nix-darwin.url = "github:LnL7/nix-darwin";
|
nix-darwin.url = "github:LnL7/nix-darwin";
|
||||||
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew, ... }:
|
outputs = inputs@{ self, nix-darwin, nixpkgs, nix-homebrew, ... }:
|
||||||
let
|
let
|
||||||
configuration = { pkgs, ... }: {
|
configuration = { pkgs, ... }: {
|
||||||
@ -42,7 +40,6 @@
|
|||||||
pkgs.bitwarden-desktop
|
pkgs.bitwarden-desktop
|
||||||
pkgs.jetbrains-toolbox
|
pkgs.jetbrains-toolbox
|
||||||
];
|
];
|
||||||
|
|
||||||
# HomeBrew configuration
|
# HomeBrew configuration
|
||||||
homebrew = {
|
homebrew = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -63,7 +60,6 @@
|
|||||||
"adobe-creative-cloud"
|
"adobe-creative-cloud"
|
||||||
"qbittorrent"
|
"qbittorrent"
|
||||||
"zoom"
|
"zoom"
|
||||||
"tailscale"
|
|
||||||
"zed"
|
"zed"
|
||||||
"whisky"
|
"whisky"
|
||||||
"visual-studio-code"
|
"visual-studio-code"
|
||||||
@ -78,6 +74,7 @@
|
|||||||
"privileges"
|
"privileges"
|
||||||
"jdownloader"
|
"jdownloader"
|
||||||
"raspberry-pi-imager"
|
"raspberry-pi-imager"
|
||||||
|
"tailscale-app"
|
||||||
];
|
];
|
||||||
brews = [
|
brews = [
|
||||||
"wget"
|
"wget"
|
||||||
@ -110,10 +107,7 @@
|
|||||||
onActivation.cleanup = "uninstall";
|
onActivation.cleanup = "uninstall";
|
||||||
onActivation.autoUpdate = true;
|
onActivation.autoUpdate = true;
|
||||||
onActivation.upgrade = true;
|
onActivation.upgrade = true;
|
||||||
|
}; # System configuration
|
||||||
};
|
|
||||||
|
|
||||||
# System configuration
|
|
||||||
security.pam.services.sudo_local.touchIdAuth = true;
|
security.pam.services.sudo_local.touchIdAuth = true;
|
||||||
system.defaults = {
|
system.defaults = {
|
||||||
dock = {
|
dock = {
|
||||||
@ -141,7 +135,6 @@
|
|||||||
finder.FXPreferredViewStyle = "Nlsv";
|
finder.FXPreferredViewStyle = "Nlsv";
|
||||||
SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
|
SoftwareUpdate.AutomaticallyInstallMacOSUpdates = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow broken packages
|
# Allow broken packages
|
||||||
nixpkgs.config.allowBroken = true;
|
nixpkgs.config.allowBroken = true;
|
||||||
# allow unfree packages
|
# allow unfree packages
|
||||||
@ -149,22 +142,17 @@
|
|||||||
# Auto upgrade nix package and the daemon service.
|
# Auto upgrade nix package and the daemon service.
|
||||||
# services.nix-daemon.enable = true;
|
# services.nix-daemon.enable = true;
|
||||||
# nix.package = pkgs.nix;
|
# nix.package = pkgs.nix;
|
||||||
|
|
||||||
# Necessary for using flakes on this system.
|
# Necessary for using flakes on this system.
|
||||||
nix.settings.experimental-features = "nix-command flakes";
|
nix.settings.experimental-features = "nix-command flakes";
|
||||||
|
|
||||||
# Create /etc/zshrc that loads the nix-darwin environment.
|
# Create /etc/zshrc that loads the nix-darwin environment.
|
||||||
programs.zsh.enable = true; # default shell on catalina
|
programs.zsh.enable = true; # default shell on catalina
|
||||||
# programs.fish.enable = true;
|
# programs.fish.enable = true;
|
||||||
|
|
||||||
# Set Git commit hash for darwin-version.
|
# Set Git commit hash for darwin-version.
|
||||||
system.configurationRevision = self.rev or self.dirtyRev or null;
|
system.configurationRevision = self.rev or self.dirtyRev or null;
|
||||||
|
|
||||||
# Used for backwards compatibility, please read the changelog before changing.
|
# Used for backwards compatibility, please read the changelog before changing.
|
||||||
# $ darwin-rebuild changelog
|
# $ darwin-rebuild changelog
|
||||||
system.stateVersion = 5;
|
system.stateVersion = 5;
|
||||||
system.primaryUser = "louisgallet";
|
system.primaryUser = "louisgallet";
|
||||||
|
|
||||||
# The platform the configuration will be used on.
|
# The platform the configuration will be used on.
|
||||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||||
};
|
};
|
||||||
@ -180,20 +168,16 @@
|
|||||||
nix-homebrew = {
|
nix-homebrew = {
|
||||||
# Install Homebrew under the default prefix
|
# Install Homebrew under the default prefix
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
|
# Apple Silicon Only: Also install Homebrew under the default Intel prefix for Rosetta 2
|
||||||
enableRosetta = true;
|
enableRosetta = true;
|
||||||
|
|
||||||
# User owning the Homebrew prefix
|
# User owning the Homebrew prefix
|
||||||
user = "louisgallet";
|
user = "louisgallet";
|
||||||
|
|
||||||
# Automatically migrate existing Homebrew installations
|
# Automatically migrate existing Homebrew installations
|
||||||
autoMigrate = true;
|
autoMigrate = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Expose the package set, including overlays, for convenience.
|
# Expose the package set, including overlays, for convenience.
|
||||||
darwinPackages = self.darwinConfigurations."MBP-Louis".pkgs;
|
darwinPackages = self.darwinConfigurations."MBP-Louis".pkgs;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user