From ffa2e4014d79caf9ff1a0d298622a0c6e1f02aad Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 11 Feb 2023 02:37:39 +0100 Subject: [PATCH] chore: re-lock flake, add sops --- flake.lock | 16 ++++++---------- flake.nix | 24 ++++++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index 17e00af..ea4d93e 100644 --- a/flake.lock +++ b/flake.lock @@ -16,7 +16,6 @@ }, "original": { "owner": "lnl7", - "ref": "master", "repo": "nix-darwin", "type": "github" } @@ -96,16 +95,15 @@ "utils": "utils" }, "locked": { - "lastModified": 1675637696, - "narHash": "sha256-tilJS8zCS3PaDfVOfsBZ4zspuam8tc7IMZxtGa/K/uo=", + "lastModified": 1675935446, + "narHash": "sha256-WajulTn7QdwC7QuXRBavrANuIXE5z+08EdxdRw1qsNs=", "owner": "nix-community", "repo": "home-manager", - "rev": "c43d4a3d6d9ef8ddbe2438362f5c775b4186000b", + "rev": "2dce7f1a55e785a22d61668516df62899278c9e4", "type": "github" }, "original": { "owner": "nix-community", - "ref": "master", "repo": "home-manager", "type": "github" } @@ -208,16 +206,15 @@ }, "nur": { "locked": { - "lastModified": 1675748672, - "narHash": "sha256-zZ40cbNJuZMC00PNU99A2zxuv7xbMNc9EF5n5JRlt+k=", + "lastModified": 1676069077, + "narHash": "sha256-HXLX921XdhFCnnBK4HLMKxZLn/qBsO+2OB3QfogVEmw=", "owner": "nix-community", "repo": "NUR", - "rev": "19be7c1b5c06d36b510311f9c574de8897dbc50e", + "rev": "c5a4f3ce0d13892cb778b936e72633f045470d62", "type": "github" }, "original": { "owner": "nix-community", - "ref": "master", "repo": "NUR", "type": "github" } @@ -271,7 +268,6 @@ }, "original": { "owner": "Mic92", - "ref": "master", "repo": "sops-nix", "type": "github" } diff --git a/flake.nix b/flake.nix index 5b92a4b..e455327 100644 --- a/flake.nix +++ b/flake.nix @@ -6,16 +6,16 @@ nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; darwin = { - url = "github:lnl7/nix-darwin/master"; + url = "github:lnl7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; home-manager = { - url = "github:nix-community/home-manager/master"; + url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; - nur.url = "github:nix-community/NUR/master"; - sops.url = "github:Mic92/sops-nix/master"; + nur.url = "github:nix-community/NUR"; + sops.url = "github:Mic92/sops-nix"; # dev pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix"; @@ -91,11 +91,15 @@ }; }; }; - devShell = nixpkgs.legacyPackages.${system}.mkShell { - inherit (self.checks.${system}.pre-commit-check) shellHook; - packages = with nixpkgs.legacyPackages.${system}; [ - just - ]; - }; + devShell = let + pkgs = nixpkgs.legacyPackages.${system}; + in + pkgs.mkShell { + inherit (self.checks.${system}.pre-commit-check) shellHook; + packages = [ + pkgs.just + pkgs.sops + ]; + }; }); }