From e5c12da8f26933090e76f47f5aba9e7b345f61f7 Mon Sep 17 00:00:00 2001 From: winston Date: Mon, 11 Mar 2024 13:58:28 +0100 Subject: [PATCH] chore: update flake.lock & allow insecure nix 2.17 Still working around nix-community/home-manager#4692 & NixOS/nix#9579 --- flake.lock | 48 ++++++++++++++++++++++++------------------------ machines/lib.nix | 5 ++++- 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/flake.lock b/flake.lock index aca1128..e40d266 100644 --- a/flake.lock +++ b/flake.lock @@ -57,11 +57,11 @@ ] }, "locked": { - "lastModified": 1708962818, - "narHash": "sha256-oN4D8YBbwxz/YHyV1i+y+ujUKAmhIeSqGBWFIWyQnGw=", + "lastModified": 1710153923, + "narHash": "sha256-aCaHueh0QkFoAMnhfYwrG9LTx/fCCsicPzjgPMLjByc=", "owner": "catppuccin", "repo": "vscode", - "rev": "49632377cb02b45bc47c929bbc2874de54dbbda2", + "rev": "91851ec881a99541355ad4d665f775ee0e15dfcc", "type": "github" }, "original": { @@ -115,11 +115,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1709126324, - "narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "d465f4819400de7c8d874d50b982301f28a84605", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -174,11 +174,11 @@ ] }, "locked": { - "lastModified": 1710043165, - "narHash": "sha256-R34OB9q1JMqbIQlnuccWFGDYG0sWEALHxjL6kQGVR44=", + "lastModified": 1710062421, + "narHash": "sha256-FiCNRfyUgJOLYIokLiFsfI7B+Zn9HDnOzFR3uVr5qsQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "fbec89838763831bd92e1b09222dc9477942930f", + "rev": "36f873dfc8e2b6b89936ff3e2b74803d50447e0a", "type": "github" }, "original": { @@ -194,11 +194,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1710054510, - "narHash": "sha256-kekC5uJuvmaTjqWhm0Ejun6EnW4xNn5+7q98stKIOzM=", + "lastModified": 1710140598, + "narHash": "sha256-YwiHPdShrkLohaRf6KbNjKdVEtM6Cu5cPsJiwDWuhCs=", "owner": "nekowinston", "repo": "nur", - "rev": "4918b7a2db2cd98856be7db953f5100f3a359bf0", + "rev": "2314f07618e56701525cbc44289145375f6b08d1", "type": "github" }, "original": { @@ -234,11 +234,11 @@ ] }, "locked": { - "lastModified": 1710040110, - "narHash": "sha256-PNAV8VdZkNoSGQHGQWDefNarl0BtKjVMCCzu16+vsr4=", + "lastModified": 1710120787, + "narHash": "sha256-tlLuB73OCOKtU2j83bQzSYFyzjJo3rjpITZE5MoofG8=", "owner": "nix-community", "repo": "nix-index-database", - "rev": "851fcfd130597c5c91071d46275111522d4fd595", + "rev": "e76ff2df6bfd2abe06abd8e7b9f217df941c1b07", "type": "github" }, "original": { @@ -258,11 +258,11 @@ ] }, "locked": { - "lastModified": 1710033560, - "narHash": "sha256-jLEVnMZBxZ/0ziOvzrM9t5NvrwYFvhWLG9lh+ZS6Hhs=", + "lastModified": 1710119770, + "narHash": "sha256-WKUrnOtFBEGCSgmMQn9Utaaf514WZD/7dAJDbmVULKs=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "25aca378639791d20fe0bd9bf0189130369447c1", + "rev": "b25f888a82dbe5a45094746940f10ff5438936c4", "type": "github" }, "original": { @@ -289,11 +289,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1709703039, - "narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=", + "lastModified": 1709961763, + "narHash": "sha256-6H95HGJHhEZtyYA3rIQpvamMKAGoa8Yh2rFV29QnuGw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d", + "rev": "3030f185ba6a4bf4f18b87f345f104e6a6961f34", "type": "github" }, "original": { @@ -305,11 +305,11 @@ }, "nur": { "locked": { - "lastModified": 1710054796, - "narHash": "sha256-hw7nr8jjhqPRQ3GwUsyubCpnj8S+hn8JFSebKTSdf7Y=", + "lastModified": 1710158865, + "narHash": "sha256-3wJnmZ7YtMoRGr/Vmn/nUj12C+4Q4zmkKI8h0zau/8U=", "owner": "nix-community", "repo": "nur", - "rev": "85ccf22bc39caf0cef0e031d47a05638baa7a08e", + "rev": "ff19513c66ec904c1380afb85e81f8213d79f515", "type": "github" }, "original": { diff --git a/machines/lib.nix b/machines/lib.nix index a4822a9..540b7e8 100644 --- a/machines/lib.nix +++ b/machines/lib.nix @@ -10,7 +10,10 @@ homeLib = import ../home/lib.nix {inherit inputs username pkgs;}; in { config = { - nixpkgs.overlays = overlays; + nixpkgs = { + overlays = overlays; + config.permittedInsecurePackages = ["nix-2.17.1"]; + }; home-manager = { backupFileExtension = "backup"; extraSpecialArgs = homeLib.extraSpecialArgs;