diff --git a/common/tooling/git.nix b/common/tooling/git.nix index d0f9982..8b5ff80 100644 --- a/common/tooling/git.nix +++ b/common/tooling/git.nix @@ -53,7 +53,7 @@ in *~ result ''); - pull.rebase = true; + pull.rebase = false; include.path = "${pkgs.delta.src}/themes.gitconfig"; core.pager = "delta"; diff --git a/modules/nextcloud.nix b/modules/nextcloud.nix index 5e54385..6be4866 100644 --- a/modules/nextcloud.nix +++ b/modules/nextcloud.nix @@ -21,6 +21,12 @@ in group = "nextcloud"; mode = "0600"; }; + nextcloud_server_key = { + file = ../secrets/nextcloud_server_key.age; + owner = "nextcloud"; + group = "nextcloud"; + mode = "0600"; + }; }; services.redis.servers.nextcloud = { @@ -58,6 +64,7 @@ in overwriteProtocol = "https"; defaultPhoneRegion = "DE"; filelocking.enabled = true; + sseCKeyFile = config.age.secrets.nextcloud_server_key; redis = { host = "localhost"; port = config.services.redis.servers.nextcloud.port; diff --git a/nix/sources.json b/nix/sources.json index 4f3edc2..8bd557b 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -29,10 +29,10 @@ "homepage": "https://nyx.chaotic.cx", "owner": "chaotic-cx", "repo": "nyx", - "rev": "651cfaba624e7bf0876fbd528f3fa8f1b0c0c614", - "sha256": "0annk8pgx69r8jnnmxcf6n79hwm4dnxj6q0qyqwgjh0g26sa958k", + "rev": "a6f43e450d97eece8757e6cb6136f4cd4f141a3b", + "sha256": "1l38vn7hahnl5x0m8kk4x1rqiig1divhja8cs9iqq466h7q1prdv", "type": "tarball", - "url": "https://github.com/chaotic-cx/nyx/archive/651cfaba624e7bf0876fbd528f3fa8f1b0c0c614.tar.gz", + "url": "https://github.com/chaotic-cx/nyx/archive/a6f43e450d97eece8757e6cb6136f4cd4f141a3b.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "glibc-eac": { @@ -50,13 +50,13 @@ "lix-module": { "branch": "main", "repo": "https://git.lix.systems/lix-project/nixos-module.git", - "rev": "18fa4a89e208cb8e881f5f71c75bbd4c1c2fd37d", + "rev": "38f31ee7c1a60adae58833789dd855c128b056c6", "type": "git" }, "lix-pkg": { "branch": "main", "repo": "https://git.lix.systems/lix-project/lix.git", - "rev": "ec5039653d6281f8bbe6158758aa721a1061082a", + "rev": "71b32bb87cd48dbbd672c8ca6b041ed36f3bae11", "type": "git" }, "nixos-mailserver": { diff --git a/secrets/nextcloud_server_key.age b/secrets/nextcloud_server_key.age new file mode 100644 index 0000000..ba49a95 --- /dev/null +++ b/secrets/nextcloud_server_key.age @@ -0,0 +1,15 @@ +age-encryption.org/v1 +-> ssh-rsa jWbwAg +EW2OpestxkkZYF5WNCujr37myuVlAkOboU7d5kW9z+3DAGoAVoLTYH4tPAD7sAtA +5ktZggY0NtugFIiACDAp2wwJrDoOHNCVv1HMOBQ46GbT40l7SXRiww24DCtEucd4 +q7tnZ14UNq1FrEJ3ejnIdS9plm3Q29Ij9cD30K8/+1JrS+6vIHPPVw2d6wN8gzWO +5nMynIViB2bQLHza+jjojGd5UQodTF6qrdcWE7dGmKLmprtHs2ZvXAXql7jhmgqt +z9wesRdkm+TGts3yGX4Eufo01Edb6SYcgUG+Zql4ULwTGL7mFIObUU+trxsxMSGG +CZdtnJh45maef2SW/Twv1XSJ2ZG/ms78JMWFPw/Z9fR/YShxpAHgQN43KFGrfzTO +BkFWW/ic8Vbob2jslVGB4ux0LI/hkEKsn5Df2dUX2Va80HsWx4cxsQ90E6SkrkHI +24aOvEA75I8eaEv70fw7xeoot6dt1RW+eV7jriG9WM6A7Y51kq8Cs7jIdRRJ3Mne +qrCalraWoKG0NM6s4Kxw9lnoLj87CVlv10MbTh67TkwPsHmTP+8Mp+W5JSKpQldT +LAooalxpRgHKzDn62oszkBHHE6smevVNqm/hHh2Cwwptw0DKsP95j3SBmS+tWLpH +t06cfrptVrBgeXonNjZZk00eOpyU2XwZuHXqa5NOC9w +--- QYkh6m2OgUThH/JoP97GqCbqwcn4DUNh6lJkkImPGKs +Ù¹o÷~‹…ñº´[¦/©©H‹¦f½ÎåßdÏÎnD†B:o"ÑhXÇpðSTÓy³'Ü¥Ìê+»ëqÿäÄ<®5@溜ßË[s \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index d25ba25..b97d1fb 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -14,6 +14,7 @@ in # "duckdns_token.age".publicKeys = [ contabo_nix_pub ]; "synapse_db_pass.age".publicKeys = [ contabo_nix_pub ]; "openldap_admin.age".publicKeys = [ contabo_nix_pub ]; + "nextcloud_server_key.age".publicKeys = [ contabo_nix_pub ]; "keycloak_db_pass.age".publicKeys = [ contabo_nix_pub ]; "synapse_db_pass_prepared.age".publicKeys = [ contabo_nix_pub ];