1
0
Fork 0

Update deps

This commit is contained in:
Daniel Kempkens 2023-08-15 16:35:09 +02:00
parent 7fe2f1536f
commit 6a3acc2688
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 36 additions and 33 deletions

View file

@ -65,11 +65,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1692018327, "lastModified": 1692104626,
"narHash": "sha256-2u2bOGR1D7YUiCkrQ98+o2Y1A+SaqLKeq9IG40ENH9M=", "narHash": "sha256-NfsoXKc9OzRzq2j227tnf8tUOl77wW79wSqBqOEWqAg=",
"owner": "nifoc", "owner": "nifoc",
"repo": "bdfr-browser", "repo": "bdfr-browser",
"rev": "23a1d6a9d65cfa9c85f279787ddb5b4350fbb68b", "rev": "5a9ecce1cf10e72070c8c20053f7dd6d734a7ddb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -491,11 +491,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691998815, "lastModified": 1692081771,
"narHash": "sha256-HuFgb+W1Dvd0mjjudpTf0hVg/YKKiMRpX14t7dJeTm8=", "narHash": "sha256-LWhyDz3gi1RzTcW6e6iwfs4VuDWFajOexBKygNIqvQM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "da6874e8bb82204323b94154585a1471c739f73e", "rev": "18791781ea86cbec6bce8bcb847444b9c73b8b3b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -514,11 +514,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1691999605, "lastModified": 1692104068,
"narHash": "sha256-4j4ieCrgjNxaPrshyPSquEpDzhJMOX93MBlyBuNOHnA=", "narHash": "sha256-HJD9iNoTaYkx3j3GS5WHmr/Lgh+R0oe9ALjx7GlOrZg=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "6d93bdd458a03bd07b1797e43bb11e3be560d340", "rev": "fc14928719df12826397b46b1765b82f1fc7d1d8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -539,11 +539,11 @@
"weewx-proxy-flake": "weewx-proxy-flake" "weewx-proxy-flake": "weewx-proxy-flake"
}, },
"locked": { "locked": {
"lastModified": 1692018495, "lastModified": 1692104701,
"narHash": "sha256-GFjT/9FxgYq8Gh5GuBcBt3XyzlV6w2aKKtI1PbWb7nU=", "narHash": "sha256-FSqT/wPjfvyKir0xuE/4Y2OYfTh44A/F3bV3yllKNd0=",
"owner": "nifoc", "owner": "nifoc",
"repo": "nix-overlay", "repo": "nix-overlay",
"rev": "2fb150b9d98948add470b4a16345c7e761c14699", "rev": "895eda929af457581958c0e25b551f2279004207",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -606,11 +606,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1691976506, "lastModified": 1692067901,
"narHash": "sha256-EqdSK1LBlzQ56oFRYVmk7xdWrqtqZJy9G1xy0cQekjw=", "narHash": "sha256-kq8Pf/nmlXECDWMkQSRGQkjWsA6G0pjzZkfUEaTmXJE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "81b970640e56a5c07a336d2c05018b0c9bf57a51", "rev": "ea95c0917609e5c48023cc7c6141bea2fdf13970",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -64,6 +64,7 @@
ouch ouch
parallel parallel
q q
rexit
ripgrep ripgrep
socat socat
tokei tokei

View file

@ -118,12 +118,12 @@ in
}; };
nvim-treesitter = buildVimPluginFrom2Nix { nvim-treesitter = buildVimPluginFrom2Nix {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "2023-08-14"; version = "2023-08-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "93ee00cd9daf8d2e3fbaa2a18b8b9adcb4471b16"; rev = "11d79aa0f731439f2cd05579a64ac13857002f16";
sha256 = "17wl41myiz80s9sv2lw9lkr5z57wca0qwqlizzrxp9w9pqs4dd4k"; sha256 = "15m6f8kv40pinbwh6gnrxrhj0bs86853cg6nvnfy8gamhimmh56s";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -242,12 +242,12 @@ in
}; };
nvim-lspconfig = buildVimPluginFrom2Nix { nvim-lspconfig = buildVimPluginFrom2Nix {
pname = "nvim-lspconfig"; pname = "nvim-lspconfig";
version = "2023-08-11"; version = "2023-08-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvim-lspconfig"; repo = "nvim-lspconfig";
rev = "a981d4447b92c54a4d464eb1a76b799bc3f9a771"; rev = "0d29cad8de3b2c654315203fc1fe12fde722a18a";
sha256 = "0bcfrz5r1d5v5iizjirfg3hfzlb415557zhvkdig3ciphbly3ccj"; sha256 = "1gp6prlg2bvgsnxv8650ywsi05079qwcq7zywh55cnzrvqfspjh0";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };
@ -572,12 +572,12 @@ in
}; };
gitsigns-nvim = buildVimPluginFrom2Nix { gitsigns-nvim = buildVimPluginFrom2Nix {
pname = "gitsigns.nvim"; pname = "gitsigns.nvim";
version = "2023-08-09"; version = "2023-08-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lewis6991"; owner = "lewis6991";
repo = "gitsigns.nvim"; repo = "gitsigns.nvim";
rev = "bae45ef449d8811061cc940459e70e883a3aa83a"; rev = "55f8fc7b13205d44359080ed00095674c353bd76";
sha256 = "0ns6qhw79fjxns6x36474dsl6ihqw2sxxm126bpgi9612cq134gs"; sha256 = "0idbyfq628ylbbgv4m4p8h72fz0wcblrkamrwjvsryw7vmdb4f4g";
fetchSubmodules = false; fetchSubmodules = false;
}; };
}; };

View file

@ -2,32 +2,32 @@
let let
baseDirectory = "/mnt/media-scraper/Reddit"; baseDirectory = "/mnt/media-scraper/Reddit";
chatDirectory = "/mnt/media-scraper/RedditChat";
workingDirectory = "/var/lib/bdfr-browser";
in in
{ {
systemd.services.bdfr-browser = { systemd.services.bdfr-browser = {
description = "A crude BDFR browser UI"; description = "A crude BDFR browser UI";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" "postgresql.service" ];
path = with pkgs; [ busybox inotify-tools ];
serviceConfig = { serviceConfig = {
DynamicUser = true; DynamicUser = true;
StateDirectory = "bdfr-browser"; StateDirectory = "bdfr-browser";
WorkingDirectory = workingDirectory;
Environment = [ Environment = [
"BDFR_BROWSER_BASE_DIRECTORY=${baseDirectory}" "BDFR_BROWSER_BASE_DIRECTORY=${baseDirectory}"
"BDFR_BROWSER_CHAT_DIRECTORY=/mnt/media-scraper/RedditChat" "BDFR_BROWSER_CHAT_DIRECTORY=${chatDirectory}"
"BDFR_BROWSER_WATCH_DIRECTORIES=false"
"BDFR_BROWSER_REPO_DATABASE=bdfr-browser" "BDFR_BROWSER_REPO_DATABASE=bdfr-browser"
"BDFR_BROWSER_REPO_SOCKET_DIR=/run/postgresql" "BDFR_BROWSER_REPO_SOCKET_DIR=/run/postgresql"
"RELEASE_TMP=${workingDirectory}"
"RELEASE_DISTRIBUTION=none" "RELEASE_DISTRIBUTION=none"
"RELEASE_COOKIE=no_dist_anyway" "RELEASE_COOKIE=no_dist_anyway"
]; ];
ExecStart = "${pkgs.bdfr-browser}/bin/bdfr_browser start"; ExecStart = "${pkgs.bdfr-browser}/bin/bdfr_browser start";
ExecStop = "${pkgs.bdfr-browser}/bin/bdfr_browser stop"; Type = "exec";
ExecReload = "${pkgs.bdfr-browser}/bin/bdfr_browser restart";
Type = "notify";
WatchdogSec = "10s";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = 5;
StartLimitBurst = 3;
StartLimitInterval = 10;
}; };
}; };
@ -44,5 +44,7 @@ in
}; };
locations."/media/".alias = "${baseDirectory}/"; locations."/media/".alias = "${baseDirectory}/";
locations."/chat_media/".alias = "${chatDirectory}/images/";
}; };
} }