From e4c1039f705aa4df47f632692b8203490c0c0318 Mon Sep 17 00:00:00 2001 From: Louis Gallet Date: Tue, 27 May 2025 19:17:36 +0200 Subject: [PATCH] feat: :sparkles: Update nix and update packages --- flake.lock | 79 +++++++++++------------------------------------------- flake.nix | 8 +++++- 2 files changed, 22 insertions(+), 65 deletions(-) diff --git a/flake.lock b/flake.lock index 2c6e41b..20f0e63 100644 --- a/flake.lock +++ b/flake.lock @@ -3,16 +3,16 @@ "brew-src": { "flake": false, "locked": { - "lastModified": 1740943974, - "narHash": "sha256-2lRLfb6qwoUAsX/XtYmt/ETxtGid6/VaBeFiRsoVMtU=", + "lastModified": 1746795192, + "narHash": "sha256-Cv+RXuzmn2iGBY2Ny/nXBTH+LFKDWIvMxf9a+btKI6M=", "owner": "Homebrew", "repo": "brew", - "rev": "64efed206deeb9c2304d9e5b5910dcbf0a509c15", + "rev": "6f39076b3c2251994419215279d0525ef667fc31", "type": "github" }, "original": { "owner": "Homebrew", - "ref": "4.4.23", + "ref": "4.5.2", "repo": "brew", "type": "github" } @@ -24,29 +24,11 @@ ] }, "locked": { - "lastModified": 1741112248, - "narHash": "sha256-Y340xoE1Vgo0eCDJi4srVjuwlr50vYSoyJrZeXHw3n0=", + "lastModified": 1748352827, + "narHash": "sha256-sNUUP6qxGkK9hXgJ+p362dtWLgnIWwOCmiq72LAWtYo=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "991bb2f6d46fc2ff7990913c173afdb0318314cb", - "type": "github" - }, - "original": { - "owner": "LnL7", - "repo": "nix-darwin", - "type": "github" - } - }, - "nix-darwin_2": { - "inputs": { - "nixpkgs": "nixpkgs" - }, - "locked": { - "lastModified": 1716329735, - "narHash": "sha256-ap51w+VqG21vuzyQ04WrhI2YbWHd3UGz0e7dc/QQmoA=", - "owner": "LnL7", - "repo": "nix-darwin", - "rev": "eac4f25028c1975a939c8f8fba95c12f8a25e01c", + "rev": "44a7d0e687a87b73facfe94fba78d323a6686a90", "type": "github" }, "original": { @@ -57,16 +39,14 @@ }, "nix-homebrew": { "inputs": { - "brew-src": "brew-src", - "nix-darwin": "nix-darwin_2", - "nixpkgs": "nixpkgs_2" + "brew-src": "brew-src" }, "locked": { - "lastModified": 1741032878, - "narHash": "sha256-s9YOBz8vAxPlI4wORma3D7km8wZOEe/7Hg/u3brmwUQ=", + "lastModified": 1748305448, + "narHash": "sha256-G3PvFLCoq5LCcP0rn+6TP5pF1smtRlYCfOS+1Epn2Tk=", "owner": "zhaofengli-wip", "repo": "nix-homebrew", - "rev": "a82c55b07f670a01da5a72b7a07fe41c256a4380", + "rev": "6f94d412d389a7ff8c0b3e295e34558ee6381890", "type": "github" }, "original": { @@ -77,40 +57,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1687274257, - "narHash": "sha256-TutzPriQcZ8FghDhEolnHcYU2oHIG5XWF+/SUBNnAOE=", - "path": "/nix/store/22qgs3skscd9bmrxv9xv4q5d4wwm5ppx-source", - "rev": "2c9ecd1f0400076a4d6b2193ad468ff0a7e7fdc5", - "type": "path" - }, - "original": { - "id": "nixpkgs", - "type": "indirect" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1716330097, - "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", + "lastModified": 1748248602, + "narHash": "sha256-LanRAm0IRpL36KpCKSknEwkBFvTLc9mDHKeAmfTrHwg=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { - "locked": { - "lastModified": 1741037377, - "narHash": "sha256-SvtvVKHaUX4Owb+PasySwZsoc5VUeTf1px34BByiOxw=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "02032da4af073d0f6110540c8677f16d4be0117f", + "rev": "ad331efcaf680eb1c838cb339472399ea7b3cdab", "type": "github" }, "original": { @@ -124,7 +75,7 @@ "inputs": { "nix-darwin": "nix-darwin", "nix-homebrew": "nix-homebrew", - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs" } } }, diff --git a/flake.nix b/flake.nix index 4e6c57c..c980599 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,10 @@ pkgs.marp-cli pkgs.discord pkgs.mos + pkgs.wireshark + pkgs.yarn + pkgs.typescript + pkgs.firefox ]; # HomeBrew configuration @@ -76,7 +80,8 @@ "eloston-chromium" "chromedriver" "epic-games" - "lookaway" + "shadow" + "alt-tab" ]; brews = [ "wget" @@ -165,6 +170,7 @@ # Used for backwards compatibility, please read the changelog before changing. # $ darwin-rebuild changelog system.stateVersion = 5; + system.primaryUser = "louisgallet"; # The platform the configuration will be used on. nixpkgs.hostPlatform = "aarch64-darwin";