From 1bd9497b1bbc3f8df9c0c234d4c8f1938bb56899 Mon Sep 17 00:00:00 2001 From: Niccolo Borgioli Date: Mon, 16 Dec 2024 22:58:27 +0100 Subject: [PATCH] update flake --- flake.lock | 20 ++++++++++---------- flake.nix | 7 ++++--- home.nix | 9 ++++++++- 3 files changed, 22 insertions(+), 14 deletions(-) diff --git a/flake.lock b/flake.lock index 0261514..b603d32 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1731786860, - "narHash": "sha256-130gQ5k8kZlxjBEeLpE+SvWFgSOFgQFeZlqIik7KgtQ=", + "lastModified": 1734344598, + "narHash": "sha256-wNX3hsScqDdqKWOO87wETUEi7a/QlPVgpC/Lh5rFOuA=", "owner": "nix-community", "repo": "home-manager", - "rev": "1bd5616e33c0c54d7a5b37db94160635a9b27aeb", + "rev": "83ecd50915a09dca928971139d3a102377a8d242", "type": "github" }, "original": { @@ -27,11 +27,11 @@ ] }, "locked": { - "lastModified": 1731768170, - "narHash": "sha256-9Zj2baKY3KaKzs5+nqZgIwr/o/iibhENFxjOnpU+IOU=", + "lastModified": 1733570843, + "narHash": "sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "2bcef10f4319f34ddebadb5f37eaa81ca2510730", + "rev": "a35b08d09efda83625bef267eb24347b446c80b8", "type": "github" }, "original": { @@ -42,17 +42,17 @@ }, "nixpkgs": { "locked": { - "lastModified": 1731676161, - "narHash": "sha256-R0HVwLNR6/a7tonc/7ChJIRB8fJ0dyQmJYH4lOU1Zm0=", + "lastModified": 1734126203, + "narHash": "sha256-0XovF7BYP50rTD2v4r55tR5MuBLet7q4xIz6Rgh3BBU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8809585e6937d0b07fc066792c8c9abf9c3fe5c4", + "rev": "71a6392e367b08525ee710a93af2e80083b5b3e2", "type": "github" }, "original": { "owner": "NixOS", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", - "rev": "8809585e6937d0b07fc066792c8c9abf9c3fe5c4", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 935bb9a..c90826f 100644 --- a/flake.nix +++ b/flake.nix @@ -2,9 +2,7 @@ description = "Example nix-darwin system flake"; inputs = { - # https://github.com/LnL7/nix-darwin/issues/1176 - # nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - nixpkgs.url = "github:NixOS/nixpkgs/8809585e6937d0b07fc066792c8c9abf9c3fe5c4"; + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nix-darwin.url = "github:LnL7/nix-darwin"; nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; @@ -58,6 +56,9 @@ homebrew.enable = true; homebrew.casks = import ./cask.nix; + homebrew.onActivation.autoUpdate = true; + # Look into https://daiderd.com/nix-darwin/manual/index.html#opt-homebrew.onActivation.cleanup + # homebrew.taps = [ # "hashicorp/tap" # ]; diff --git a/home.nix b/home.nix index d1195cc..5ab3a89 100644 --- a/home.nix +++ b/home.nix @@ -14,6 +14,7 @@ pkgs.git pkgs.git-lfs pkgs.git-crypt + pkgs.bfg-repo-cleaner pkgs.gnutar pkgs.gnupg pkgs.htop @@ -40,13 +41,19 @@ # Language specific pkgs.nixfmt-rfc-style pkgs.fnm + pkgs.bun + pkgs.deno + pkgs.zig + # Python + pkgs.uv + pkgs.ruff # sflx pkgs.vault pkgs.cocoapods pkgs.phrase-cli - (pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) + #(pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) ]; home.sessionVariables = {