Add sops for secret handling

This commit is contained in:
iFargle 2023-07-02 18:21:05 +09:00
parent a31224cb81
commit 5e51b665f5

View file

@ -24,11 +24,12 @@
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
# Encrypted secrets in Nix configuration files # Encrypted secrets in Nix configuration files
agenix.url = "github:ryantm/agenix"; # https://github.com/Mic92/sops-nix
sops-nix.url = "github:Mic92/sops-nix";
}; };
outputs = { nixpkgs, home-manager, lanzaboote, moz_overlay, nur, ... }@inputs: outputs = { nixpkgs, home-manager, lanzaboote, moz_overlay, nur, sops-nix, ... }@inputs:
let let
# Variables - Remember to set these # Variables - Remember to set these
hostname = "nixos-laptop"; hostname = "nixos-laptop";