add agenix to flake
This commit is contained in:
parent
ad55f68773
commit
08f81591fa
2 changed files with 85 additions and 22 deletions
14
flake.nix
14
flake.nix
|
|
@ -7,14 +7,16 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# KDE config
|
||||
plasma-manager = {
|
||||
url = "github:pjones/plasma-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
# Secret management
|
||||
agenix = {
|
||||
url = "github:ryantm/agenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
|
@ -24,7 +26,7 @@
|
|||
nixpkgs,
|
||||
home-manager,
|
||||
plasma-manager,
|
||||
sops-nix,
|
||||
agenix,
|
||||
...
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
@ -47,7 +49,7 @@
|
|||
modules = [
|
||||
./machines/luna/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
agenix.nixosModules.default
|
||||
{
|
||||
home-manager.sharedModules = [plasma-manager.homeModules.plasma-manager];
|
||||
}
|
||||
|
|
@ -60,7 +62,7 @@
|
|||
modules = [
|
||||
./machines/terra/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
agenix.nixosModules.default
|
||||
{
|
||||
home-manager.sharedModules = [plasma-manager.homeModules.plasma-manager];
|
||||
}
|
||||
|
|
@ -73,7 +75,7 @@
|
|||
modules = [
|
||||
./machines/solis/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue