Set up sops-nix
This commit is contained in:
parent
84c3e5a976
commit
ca41f6af9e
6 changed files with 132 additions and 10 deletions
|
@ -11,16 +11,22 @@
|
|||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, nixvim }@inputs: {
|
||||
outputs = { self, nixpkgs, home-manager, nixvim, sops-nix }@inputs: {
|
||||
nixosConfigurations = {
|
||||
totsugeki = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./common/nixos.nix
|
||||
./hosts/totsugeki/nixos.nix
|
||||
./hosts/greatyamada/services/forgejo.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
{
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.avery = {
|
||||
|
@ -41,6 +47,7 @@
|
|||
./common/nixos.nix
|
||||
./hosts/greatyamada/nixos.nix
|
||||
./hosts/greatyamada/services
|
||||
sops-nix.nixosModules.sops
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue