mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 07:25:40 +00:00
feat: add sops-nix
This commit is contained in:
parent
7e57ae8088
commit
4a948cc348
10 changed files with 85 additions and 5 deletions
|
@ -4,6 +4,7 @@
|
|||
inputs.nixvim.homeManagerModules.nixvim
|
||||
inputs.nixcord.homeModules.nixcord
|
||||
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
|
||||
./modules/kitty.nix
|
||||
./modules/git.nix
|
||||
|
@ -24,6 +25,7 @@
|
|||
./modules/hypridle.nix
|
||||
./modules/obsidian.nix
|
||||
./modules/xdg.nix
|
||||
./modules/sops.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
10
home/toast/modules/sops.nix
Normal file
10
home/toast/modules/sops.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ rootPath, ... }:
|
||||
|
||||
{
|
||||
sops.defaultSopsFile = rootPath + /secrets/secrets.yaml;
|
||||
sops.defaultSopsFormat = "yaml";
|
||||
|
||||
sops.age.keyFile = "/home/toast/.config/sops/age/keys.txt";
|
||||
|
||||
sops.secrets."tailscale/authkey" = { };
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue