feat: Manage secrets w/ sops-nix

Closes #1
This commit is contained in:
Madeleine Sydney
2024-12-28 22:28:56 -07:00
parent fa3bd72816
commit 52dc849c67
10 changed files with 186 additions and 9 deletions

View File

@@ -11,6 +11,8 @@
home-manager.url = "github:nix-community/home-manager";
niri.url = "github:sodiboo/niri-flake";
sops-nix.url = "github:Mic92/sops-nix";
};
outputs = { nixpkgs, ... }@inputs:
@@ -47,8 +49,9 @@
inputs.self.nixosModules.default
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops
inputs.impermanence.nixosModules.impermanence
# Directory name should always match host name.
({ ... }: { networking.hostName = k; })
@@ -125,6 +128,7 @@
};
})
inputs.sops-nix.homeManagerModules.sops
inputs.impermanence.homeManagerModules.impermanence
];
};