From b618c2bb7aa621ea9216fc729bf0c3eff9ac09ef Mon Sep 17 00:00:00 2001 From: "Rory&::Emma" Date: Thu, 1 Aug 2024 20:36:51 +0000 Subject: Server changes --- flake.lock | 60 +++++++++++++++++------------------ host/Rory-nginx/services/postgres.nix | 2 +- modules/packages/vim.nix | 1 + modules/users/Rory.nix | 2 +- 4 files changed, 33 insertions(+), 32 deletions(-) diff --git a/flake.lock b/flake.lock index 9618674..2856c9c 100644 --- a/flake.lock +++ b/flake.lock @@ -403,11 +403,11 @@ }, "locked": { "host": "gitlab.computer.surgery", - "lastModified": 1721153768, - "narHash": "sha256-lwRXfp7oRil1ntyErWzLxXoOXMZ75+HkpaTKlSrVRDI=", + "lastModified": 1721619727, + "narHash": "sha256-7PzAHLyvqorY4Et1Bb7rUZ1oZC5HY5yhpoqgZcF8CIY=", "owner": "matrix", "repo": "grapevine-fork", - "rev": "bf799c1fa1fb9592b8792c747594662c903068db", + "rev": "c70cfd3d254924d42b2c3b4a7c271526bd5c29ba", "type": "gitlab" }, "original": { @@ -422,11 +422,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1721135958, - "narHash": "sha256-H548rpPMsn25LDKn1PCFmPxmWlClJJGnvdzImHkqjuY=", + "lastModified": 1721534365, + "narHash": "sha256-XpZOkaSJKdOsz1wU6JfO59Rx2fqtcarQ0y6ndIOKNpI=", "owner": "nix-community", "repo": "home-manager", - "rev": "afd2021bedff2de92dfce0e257a3d03ae65c603d", + "rev": "635563f245309ef5320f80c7ebcb89b2398d2949", "type": "github" }, "original": { @@ -508,11 +508,11 @@ "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1721226275, - "narHash": "sha256-fwTSeMR1senkBPaKQyOkbkmFu3+8jj3UHoLZ3TcrOfw=", + "lastModified": 1721650907, + "narHash": "sha256-2VX/zPeLhGTsHpToFH1gfI+oGNS6m7ZUWWaqwmw3HVY=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "8ebede998342477736e0d0acdcc13ddb166a335f", + "rev": "6686cbe947cb8b135e229ad2a3447b88d1cf6da9", "type": "github" }, "original": { @@ -539,11 +539,11 @@ }, "nixpkgs-Draupnir": { "locked": { - "lastModified": 1719309243, - "narHash": "sha256-jkt9UH5zW7BpD1vr1xFum39iNAzkBGtGgTlEqHgxfF8=", + "lastModified": 1721665757, + "narHash": "sha256-8O5F4/SdduYUUfaZPlHEV/MxXA8/n2APlW3H0JmFkhY=", "owner": "TheArcaneBrony", "repo": "nixpkgs", - "rev": "3b1beb5027c6781325b372fa25b0c93c524a8084", + "rev": "65b7effccf117a87616bd0d61784982be11d714b", "type": "github" }, "original": { @@ -571,11 +571,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1721472496, - "narHash": "sha256-uSLQukUsGucbmnLySiMZZckSCCLb76r5nj3dYBlHDwA=", + "lastModified": 1721729126, + "narHash": "sha256-FJUEXdtUkM13qWIuUCBeSdKohuiyLD0wffznOYTlt2s=", "owner": "NixOs", "repo": "nixpkgs", - "rev": "ed7137cd35fa2621595f2b1f7d35f65e609e4faa", + "rev": "c93b788bd3a1c3f7bfc97f35473d6a191372cb57", "type": "github" }, "original": { @@ -619,11 +619,11 @@ }, "nixpkgs-stable_3": { "locked": { - "lastModified": 1720915306, - "narHash": "sha256-6vuViC56+KSr+945bCV8akHK+7J5k6n/epYg/W3I5eQ=", + "lastModified": 1721524707, + "narHash": "sha256-5NctRsoE54N86nWd0psae70YSLfrOek3Kv1e8KoXe/0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "74348da2f3a312ee25cea09b98cdba4cb9fa5d5d", + "rev": "556533a23879fc7e5f98dd2e0b31a6911a213171", "type": "github" }, "original": { @@ -683,11 +683,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1719848872, - "narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=", + "lastModified": 1721379653, + "narHash": "sha256-8MUgifkJ7lkZs3u99UDZMB4kbOxvMEXQZ31FO3SopZ0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8", + "rev": "1d9c2c9b3e71b9ee663d11c5d298727dace8d374", "type": "github" }, "original": { @@ -699,11 +699,11 @@ }, "nixpkgs_6": { "locked": { - "lastModified": 1720823163, - "narHash": "sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE=", + "lastModified": 1721409541, + "narHash": "sha256-b6PLr0Ty7JPDBtJtjnYzlBf02bbH9alWMAgispMkTwk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f12ee5f64c6a09995e71c9626d88c4efa983b488", + "rev": "0c53b6b8c2a3e46c68e04417e247bba660689c9d", "type": "github" }, "original": { @@ -731,11 +731,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1720781449, - "narHash": "sha256-po3TZO9kcZwzvkyMJKb0WCzzDtiHWD34XeRaX1lWXp0=", + "lastModified": 1721466660, + "narHash": "sha256-pFSxgSZqZ3h+5Du0KvEL1ccDZBwu4zvOil1zzrPNb3c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8b5a3d5a1d951344d683b442c0739010b80039db", + "rev": "6e14bbce7bea6c4efd7adfa88a40dac750d80100", "type": "github" }, "original": { @@ -801,11 +801,11 @@ "nixpkgs-stable": "nixpkgs-stable_3" }, "locked": { - "lastModified": 1720926522, - "narHash": "sha256-eTpnrT6yu1vp8C0B5fxHXhgKxHoYMoYTEikQx///jxY=", + "lastModified": 1721531171, + "narHash": "sha256-AsvPw7T0tBLb53xZGcUC3YPqlIpdxoSx56u8vPCr6gU=", "owner": "Mic92", "repo": "sops-nix", - "rev": "0703ba03fd9c1665f8ab68cc3487302475164617", + "rev": "909e8cfb60d83321d85c8d17209d733658a21c95", "type": "github" }, "original": { diff --git a/host/Rory-nginx/services/postgres.nix b/host/Rory-nginx/services/postgres.nix index b63e437..2b29d42 100755 --- a/host/Rory-nginx/services/postgres.nix +++ b/host/Rory-nginx/services/postgres.nix @@ -33,7 +33,7 @@ superuser_reserved_connections = 3; shared_buffers = "32GB"; - work_mem = "1GB"; + work_mem = "16GB"; maintenance_work_mem = "8GB"; huge_pages = "try"; effective_cache_size = "64GB"; # was 22 diff --git a/modules/packages/vim.nix b/modules/packages/vim.nix index eaec336..1b7bb37 100755 --- a/modules/packages/vim.nix +++ b/modules/packages/vim.nix @@ -20,6 +20,7 @@ " your custom vimrc set nocompatible set backspace=indent,eol,start + colorscheme vim " ... ''; }; diff --git a/modules/users/Rory.nix b/modules/users/Rory.nix index 5e09c09..2556c1c 100755 --- a/modules/users/Rory.nix +++ b/modules/users/Rory.nix @@ -121,7 +121,7 @@ # - dotnet alias drun='dotnet watch run --no-hot-reload --property WarningLevel=0' alias dbuild='dotnet watch build --no-hot-reload --property WarningLevel=0' - alias ls='lsd -lA --color=always --icon=always' + alias ls='lsd -lAhF --color=always --icon=always' alias transfetch='neofetch --kitty ~/trans_witch.jpg' alias gc='git-commit' [ -f "$HOME/.profile" ] && . $HOME/.profile -- cgit 1.4.1