Add sops to manage secrets
This commit is contained in:
parent
5c0fbfd6c4
commit
97970e7fb9
2 changed files with 32 additions and 2 deletions
11
flake.nix
11
flake.nix
|
|
@ -16,6 +16,11 @@
|
|||
inputs.flake-utils.follows = "flake-utils";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
{ self
|
||||
|
|
@ -50,6 +55,8 @@
|
|||
just
|
||||
nixpkgs-fmt
|
||||
shellcheck
|
||||
sops
|
||||
ssh-to-age
|
||||
]);
|
||||
|
||||
shellHook = ''
|
||||
|
|
@ -76,7 +83,9 @@
|
|||
nixpkgs.overlays = [ nur.overlay ];
|
||||
}] ++ [
|
||||
home-manager.nixosModules.home-manager
|
||||
] ++ extraModules;
|
||||
] ++ (with inputs; [
|
||||
sops-nix.nixosModules.sops
|
||||
]) ++ extraModules;
|
||||
})
|
||||
(import ./machines inputs);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue