feat: add sops-nix for secret management
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
f8771af1aa
commit
8ed9999148
2 changed files with 47 additions and 1 deletions
|
|
@ -10,6 +10,12 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Secrets
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/release-24.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
@ -19,6 +25,7 @@
|
|||
self,
|
||||
nixpkgs,
|
||||
lix-module,
|
||||
sops-nix,
|
||||
home-manager,
|
||||
...
|
||||
} @ inputs: let
|
||||
|
|
@ -32,6 +39,7 @@
|
|||
# > Our main nixos configuration file <
|
||||
modules = [
|
||||
lix-module.nixosModules.default
|
||||
sops-nix.nixosModules.sops
|
||||
./nixos/configuration.nix
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue