mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
fixed systemd sandboxing
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -308,6 +308,7 @@
|
|||||||
"usernamehw",
|
"usernamehw",
|
||||||
"userprefs",
|
"userprefs",
|
||||||
"vaninventory",
|
"vaninventory",
|
||||||
|
"vdev",
|
||||||
"vfat",
|
"vfat",
|
||||||
"victron",
|
"victron",
|
||||||
"virt",
|
"virt",
|
||||||
|
|||||||
@@ -5,6 +5,10 @@ in
|
|||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [ 5432 ];
|
networking.firewall.allowedTCPPorts = [ 5432 ];
|
||||||
|
|
||||||
|
# Symlink pg_wal to a ZFS dataset on the special (metadata) vdev for fast WAL writes
|
||||||
|
# this is required for systemd sandboxing
|
||||||
|
systemd.services.postgresql.serviceConfig.ReadWritePaths = [ "/zfs/media/database/postgres-wal" ];
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.postgresql_17_jit;
|
package = pkgs.postgresql_17_jit;
|
||||||
|
|||||||
@@ -20,15 +20,15 @@
|
|||||||
// turns off all sounds and announcements
|
// turns off all sounds and announcements
|
||||||
"accessibility.signals.terminalCommandFailed": {
|
"accessibility.signals.terminalCommandFailed": {
|
||||||
"sound": "off",
|
"sound": "off",
|
||||||
"announcement": "off"
|
"announcement": "off",
|
||||||
},
|
},
|
||||||
"accessibility.signals.terminalQuickFix": {
|
"accessibility.signals.terminalQuickFix": {
|
||||||
"sound": "off",
|
"sound": "off",
|
||||||
"announcement": "off"
|
"announcement": "off",
|
||||||
},
|
},
|
||||||
"accessibility.signals.terminalBell": {
|
"accessibility.signals.terminalBell": {
|
||||||
"sound": "off",
|
"sound": "off",
|
||||||
"announcement": "off"
|
"announcement": "off",
|
||||||
},
|
},
|
||||||
|
|
||||||
// database settings
|
// database settings
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
"driver": "PostgreSQL",
|
"driver": "PostgreSQL",
|
||||||
"name": "main",
|
"name": "main",
|
||||||
"database": "postgres",
|
"database": "postgres",
|
||||||
"username": "richie"
|
"username": "richie",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
|
|
||||||
// formatters
|
// formatters
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
"[yaml]": { "editor.defaultFormatter": "redhat.vscode-yaml" },
|
"[yaml]": { "editor.defaultFormatter": "redhat.vscode-yaml" },
|
||||||
"[javascriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
|
"[javascriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" },
|
||||||
"[github-actions-workflow]": {
|
"[github-actions-workflow]": {
|
||||||
"editor.defaultFormatter": "redhat.vscode-yaml"
|
"editor.defaultFormatter": "redhat.vscode-yaml",
|
||||||
},
|
},
|
||||||
"[dockercompose]": {
|
"[dockercompose]": {
|
||||||
"editor.insertSpaces": true,
|
"editor.insertSpaces": true,
|
||||||
@@ -64,9 +64,9 @@
|
|||||||
"editor.quickSuggestions": {
|
"editor.quickSuggestions": {
|
||||||
"other": true,
|
"other": true,
|
||||||
"comments": false,
|
"comments": false,
|
||||||
"strings": true
|
"strings": true,
|
||||||
},
|
},
|
||||||
"editor.defaultFormatter": "redhat.vscode-yaml"
|
"editor.defaultFormatter": "redhat.vscode-yaml",
|
||||||
},
|
},
|
||||||
|
|
||||||
// spell check
|
// spell check
|
||||||
@@ -78,7 +78,8 @@
|
|||||||
"Corvidae",
|
"Corvidae",
|
||||||
"drivername",
|
"drivername",
|
||||||
"fastapi",
|
"fastapi",
|
||||||
"syncthing"
|
"sandboxing",
|
||||||
|
"syncthing",
|
||||||
],
|
],
|
||||||
|
|
||||||
// nix
|
// nix
|
||||||
@@ -96,5 +97,5 @@
|
|||||||
// new
|
// new
|
||||||
"hediet.vscode-drawio.resizeImages": null,
|
"hediet.vscode-drawio.resizeImages": null,
|
||||||
"hediet.vscode-drawio.appearance": "automatic",
|
"hediet.vscode-drawio.appearance": "automatic",
|
||||||
"claudeCode.preferredLocation": "panel"
|
"claudeCode.preferredLocation": "panel",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user