chore: re-lock flake, add sops

This commit is contained in:
winston 2023-02-11 02:37:39 +01:00
parent a4c1daff3e
commit ffa2e4014d
Signed by: winston
GPG key ID: 3786770EDBC2B481
2 changed files with 20 additions and 20 deletions

View file

@ -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"
}

View file

@ -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
];
};
});
}