this repo has no description
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

wolumonde: add bernbot

+192 -3
+160 -3
flake.lock
··· 1 1 { 2 2 "nodes": { 3 + "bernbot": { 4 + "inputs": { 5 + "nci": "nci", 6 + "nixpkgs": [ 7 + "nixpkgs" 8 + ] 9 + }, 10 + "locked": { 11 + "lastModified": 1659166662, 12 + "narHash": "sha256-k0tQyUnvRhp1znEe9Kbc40hv3MEKtPczZn62MAH/bQ0=", 13 + "owner": "yusdacra", 14 + "repo": "bernbot", 15 + "rev": "21784b31c90001ad2ff480f148ad4bd487862648", 16 + "type": "github" 17 + }, 18 + "original": { 19 + "owner": "yusdacra", 20 + "repo": "bernbot", 21 + "type": "github" 22 + } 23 + }, 3 24 "blog": { 4 25 "inputs": { 5 26 "flakeUtils": "flakeUtils", ··· 38 59 "type": "github" 39 60 } 40 61 }, 62 + "crane_2": { 63 + "flake": false, 64 + "locked": { 65 + "lastModified": 1654444508, 66 + "narHash": "sha256-4OBvQ4V7jyt7afs6iKUvRzJ1u/9eYnKzVQbeQdiamuY=", 67 + "owner": "ipetkov", 68 + "repo": "crane", 69 + "rev": "db5482bf225acc3160899124a1df5a617cfa27b5", 70 + "type": "github" 71 + }, 72 + "original": { 73 + "owner": "ipetkov", 74 + "repo": "crane", 75 + "type": "github" 76 + } 77 + }, 41 78 "devshell": { 42 79 "flake": false, 43 80 "locked": { 81 + "lastModified": 1658746384, 82 + "narHash": "sha256-CCJcoMOcXyZFrV1ag4XMTpAPjLWb4Anbv+ktXFI1ry0=", 83 + "owner": "numtide", 84 + "repo": "devshell", 85 + "rev": "0ffc7937bb5e8141af03d462b468bd071eb18e1b", 86 + "type": "github" 87 + }, 88 + "original": { 89 + "owner": "numtide", 90 + "repo": "devshell", 91 + "type": "github" 92 + } 93 + }, 94 + "devshell_2": { 95 + "flake": false, 96 + "locked": { 44 97 "lastModified": 1655976588, 45 98 "narHash": "sha256-VreHyH6ITkf/1EX/8h15UqhddJnUleb0HgbC3gMkAEQ=", 46 99 "owner": "numtide", ··· 57 110 "dream2nix": { 58 111 "inputs": { 59 112 "alejandra": [ 113 + "bernbot", 114 + "nci", 115 + "nixpkgs" 116 + ], 117 + "crane": "crane", 118 + "devshell": [ 119 + "bernbot", 120 + "nci", 121 + "devshell" 122 + ], 123 + "flake-utils-pre-commit": [ 124 + "bernbot", 125 + "nci", 126 + "nixpkgs" 127 + ], 128 + "gomod2nix": [ 129 + "bernbot", 130 + "nci", 131 + "nixpkgs" 132 + ], 133 + "mach-nix": [ 134 + "bernbot", 135 + "nci", 136 + "nixpkgs" 137 + ], 138 + "nixpkgs": [ 139 + "bernbot", 140 + "nci", 141 + "nixpkgs" 142 + ], 143 + "node2nix": [ 144 + "bernbot", 145 + "nci", 146 + "nixpkgs" 147 + ], 148 + "poetry2nix": [ 149 + "bernbot", 150 + "nci", 151 + "nixpkgs" 152 + ], 153 + "pre-commit-hooks": [ 154 + "bernbot", 155 + "nci", 156 + "nixpkgs" 157 + ] 158 + }, 159 + "locked": { 160 + "lastModified": 1659134520, 161 + "narHash": "sha256-qg94ijLoS+jbb4w/ww8AqXqjGKN3V0loLzQM+0ry/IE=", 162 + "owner": "nix-community", 163 + "repo": "dream2nix", 164 + "rev": "26dce978b1b60800910e874e92be01f7a1fd5839", 165 + "type": "github" 166 + }, 167 + "original": { 168 + "owner": "nix-community", 169 + "repo": "dream2nix", 170 + "type": "github" 171 + } 172 + }, 173 + "dream2nix_2": { 174 + "inputs": { 175 + "alejandra": [ 60 176 "helix", 61 177 "nixCargoIntegration", 62 178 "nixpkgs" 63 179 ], 64 - "crane": "crane", 180 + "crane": "crane_2", 65 181 "devshell": [ 66 182 "helix", 67 183 "nixCargoIntegration", ··· 169 285 "nixpkgs": [ 170 286 "nixpkgs" 171 287 ], 172 - "rust-overlay": "rust-overlay" 288 + "rust-overlay": "rust-overlay_2" 173 289 }, 174 290 "locked": { 175 291 "lastModified": 1659072681, ··· 253 369 "type": "github" 254 370 } 255 371 }, 256 - "nixCargoIntegration": { 372 + "nci": { 257 373 "inputs": { 258 374 "devshell": "devshell", 259 375 "dream2nix": "dream2nix", 260 376 "nixpkgs": [ 377 + "bernbot", 378 + "nixpkgs" 379 + ], 380 + "rust-overlay": "rust-overlay" 381 + }, 382 + "locked": { 383 + "lastModified": 1659161498, 384 + "narHash": "sha256-q6fFrdt/SfbaOQMCJtI5Q7wKP79DJTM6Isfx62Vn/vk=", 385 + "owner": "yusdacra", 386 + "repo": "nix-cargo-integration", 387 + "rev": "790ec04bc74ad051ca6971bdff01e1c2be18aa01", 388 + "type": "github" 389 + }, 390 + "original": { 391 + "owner": "yusdacra", 392 + "repo": "nix-cargo-integration", 393 + "type": "github" 394 + } 395 + }, 396 + "nixCargoIntegration": { 397 + "inputs": { 398 + "devshell": "devshell_2", 399 + "dream2nix": "dream2nix_2", 400 + "nixpkgs": [ 261 401 "helix", 262 402 "nixpkgs" 263 403 ], ··· 363 503 }, 364 504 "root": { 365 505 "inputs": { 506 + "bernbot": "bernbot", 366 507 "blog": "blog", 367 508 "fufexan": "fufexan", 368 509 "helix": "helix", ··· 376 517 } 377 518 }, 378 519 "rust-overlay": { 520 + "flake": false, 521 + "locked": { 522 + "lastModified": 1659149515, 523 + "narHash": "sha256-Kf/0PgVbs4v8L8plR+j00jrDrA4DdoS32osgnXXVc7w=", 524 + "owner": "oxalica", 525 + "repo": "rust-overlay", 526 + "rev": "96ec48e9d52eba3537629a0bf2eb0fb645314e40", 527 + "type": "github" 528 + }, 529 + "original": { 530 + "owner": "oxalica", 531 + "repo": "rust-overlay", 532 + "type": "github" 533 + } 534 + }, 535 + "rust-overlay_2": { 379 536 "inputs": { 380 537 "flake-utils": "flake-utils", 381 538 "nixpkgs": [
+2
flake.nix
··· 22 22 fufexan.flake = false; 23 23 blog.url = "gitlab:yusdacra/yusdacra.gitlab.io"; 24 24 blog.inputs.nixpkgs.follows = "nixpkgs"; 25 + bernbot.url = "github:yusdacra/bernbot"; 26 + bernbot.inputs.nixpkgs.follows = "nixpkgs"; 25 27 }; 26 28 27 29 outputs = inputs: let
+29
hosts/wolumonde/bernbot.nix
··· 1 + { 2 + inputs, 3 + pkgs, 4 + lib, 5 + ... 6 + }: let 7 + bernbotPkg = inputs.bernbot.packages.${pkgs.system}.bernbot; 8 + in { 9 + systemd.services.bernbot = { 10 + description = "bernbot"; 11 + wantedBy = ["multi-user.target"]; 12 + after = ["network.target"]; 13 + serviceConfig = lib.mkMerge [ 14 + { 15 + User = "bernbot"; 16 + ExecStart = "${bernbotPkg}/bin/bernbot"; 17 + Restart = "on-failure"; 18 + RestartSec = 5; 19 + WorkingDirectory = "/var/lib/bernbot"; 20 + EnvironmentFile = "${inputs.self}/secrets/bernbot_token"; 21 + } 22 + ]; 23 + }; 24 + users.users.bernbot = { 25 + isSystemUser = true; 26 + group = "bernbot"; 27 + }; 28 + users.groups.bernbot = {}; 29 + }
+1
hosts/wolumonde/default.nix
··· 10 10 in { 11 11 imports = [ 12 12 ./hardware-configuration.nix 13 + ./bernbot.nix 13 14 ]; 14 15 15 16 boot.cleanTmpDir = true;
secrets/bernbot_token

This is a binary file and will not be displayed.