Skip to content

Commit

Permalink
feat(secrets): enable secrets in er17x
Browse files Browse the repository at this point in the history
  • Loading branch information
r17x committed Feb 9, 2024
1 parent 8f1dd20 commit b7180a1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,20 @@
];
homebrew.enable = true;
}

home-manager.darwinModules.home-manager
({ config, pkgs, ... }: {
home-manager.users.${config.users.primaryUser.username} = {
imports = singleton sops.homeManagerModule;
home.packages = [ pkgs.sops ];
sops.gnupg.home = "~/.gnupg";
sops.gnupg.sshKeyPaths = [ ];
sops.defaultSopsFile = ./secrets/secret.yaml;
# git diff integrations
programs.git.extraConfig.diff.sopsdiffer.textconv = "sops -d";
};
})

];
};

Expand Down

0 comments on commit b7180a1

Please sign in to comment.