From 79d3deaac436d1c21ce01fee3ea34f974384d8fe Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 20 Jun 2023 01:27:51 +0200 Subject: [PATCH] Disable youmubot codeforces on deploy --- flake.lock | 6 +++--- flake.nix | 2 +- nki-personal-do/configuration.nix | 1 + overlay.nix | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index efa1307..369c954 100644 --- a/flake.lock +++ b/flake.lock @@ -689,11 +689,11 @@ "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1685791946, - "narHash": "sha256-F4B6qRobDkVhz4WgZMBI0om0/dAYZF8J9V0obMrHSUc=", + "lastModified": 1687216854, + "narHash": "sha256-P3YQ+nlhbqaO0BWoYq9IueD5gkjzQI5Uy4OZ676ZVMY=", "owner": "natsukagami", "repo": "youmubot", - "rev": "500eadeed000e3758648b3d4d9bb8324ee121903", + "rev": "4845b9d467ca1f63893634a91af494e9835026ab", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index ab5ed0d..8fce055 100644 --- a/flake.nix +++ b/flake.nix @@ -169,7 +169,7 @@ (common-nixos nixpkgs) inputs.arion.nixosModules.arion ./modules/my-tinc - inputs.youmubot.nixosModule.x86_64-linux + inputs.youmubot.nixosModules.default ./nki-personal-do/configuration.nix inputs.secrets.nixosModules.nki-personal-do ]; diff --git a/nki-personal-do/configuration.nix b/nki-personal-do/configuration.nix index 24ebd8e..b44b251 100644 --- a/nki-personal-do/configuration.nix +++ b/nki-personal-do/configuration.nix @@ -166,6 +166,7 @@ sops.secrets.youmubot-env = { }; services.youmubot = { enable = true; + package = pkgs.youmubot.override { enableCodeforces = false; }; envFile = config.sops.secrets.youmubot-env.path; }; diff --git a/overlay.nix b/overlay.nix index 6958338..6d13bf3 100644 --- a/overlay.nix +++ b/overlay.nix @@ -85,6 +85,7 @@ in inputs.mpd-mpris.overlays.default inputs.swayfx.overlays.default + inputs.youmubot.overlays.default # Bug fixes ] # we assign the overlay created before to the overlays of nixpkgs.