Added private submodule. Started using secrets.

This commit is contained in:
kat witch 2021-03-02 02:42:47 +00:00
parent e47deebca2
commit b0e4c31d6e
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
6 changed files with 19 additions and 2 deletions

View file

@ -17,7 +17,7 @@
dbhost = "/run/postgresql";
dbname = "nextcloud";
adminpassFile =
"/var/lib/nextcloud/admin-pass"; # TODO replace this with proper secrets management
config.secrets.files.nextcloud.path; # TODO replace this with proper secrets management
adminuser = "root";
};
};

1
config/private Submodule

@ -0,0 +1 @@
Subproject commit 933f5058c9942bfd51812cd0beaaf9b61a8205b7

View file

@ -20,6 +20,10 @@
];
shell = pkgs.fish;
extraGroups = [ "wheel" "video" ];
packages = with pkgs; [
git-crypt
gitAndTools.gitRemoteGcrypt
];
};
home-manager.useGlobalPkgs = true;
@ -49,8 +53,12 @@
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "kat witch";
userEmail = "kat@kittywit.ch";
extraConfig = {
protocol.gcrypt.allow = "always";
};
signing = {
key = "01F50A29D4AA91175A11BDB17248991EFA8EFBEE";
signByDefault = true;