feat: init sops-nix config

This commit is contained in:
ooks-io 2024-02-13 19:17:48 +13:00
parent e0f46323bc
commit 397186558a
9 changed files with 139 additions and 1 deletions

View file

@ -8,6 +8,7 @@ in
imports = [
inputs.nix-colors.homeManagerModule
../../modules
../../secrets
] ++ (builtins.attrValues outputs.homeManagerModules);
config = lib.mkIf cfg.enable {
@ -31,6 +32,7 @@ in
home-manager.enable = true;
git.enable = true;
};
home.packages = with pkgs; [ sops ];
home = {
username = lib.mkDefault "ooks";
@ -46,6 +48,7 @@ in
xdg.portal.enable = true;
homeModules = {
sops.enable = true;
console = {
editor.helix = {
enable = true;