From 34bd7182d5d9584ecaad1b097ab81d7f87a161f9 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 19 Mar 2024 16:14:08 +0300 Subject: [PATCH] home: change ipfs configs --- home/users/jan/default.nix | 2 +- home/users/jan/home.nix | 3 +++ nixos/hosts/home/default.nix | 1 - nixos/shared/ipfs.nix | 12 ------------ 4 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 nixos/shared/ipfs.nix diff --git a/home/users/jan/default.nix b/home/users/jan/default.nix index d48018f..df2f48c 100644 --- a/home/users/jan/default.nix +++ b/home/users/jan/default.nix @@ -28,7 +28,7 @@ in (lib.mkIf config.networking.networkmanager.enable "networkmanager") (lib.mkIf config.virtualisation.docker.enable "docker") (lib.mkIf config.services.transmission.enable "transmission") - (lib.mkIf config.services.kubo.enable "ipfs") + (lib.mkIf config.services.kubo.enable config.services.kubo.group) (lib.mkIf config.programs.adb.enable "adbusers") (lib.mkIf config.programs.adb.enable "plugdev") ]; diff --git a/home/users/jan/home.nix b/home/users/jan/home.nix index 6aeaddf..52391af 100644 --- a/home/users/jan/home.nix +++ b/home/users/jan/home.nix @@ -54,16 +54,19 @@ libresprite # playerctl + # office libreoffice hunspell hunspellDicts.ru_RU hunspellDicts.en_US + # tools procs bottom asciinema # record the terminal neofetch # command-line system information bind.dnsutils + kubo # ipfs # browsers # ungoogled-chromium diff --git a/nixos/hosts/home/default.nix b/nixos/hosts/home/default.nix index c763974..93b8739 100644 --- a/nixos/hosts/home/default.nix +++ b/nixos/hosts/home/default.nix @@ -12,7 +12,6 @@ ../../shared/gnupg.nix ../../shared/garbage-collector.nix ../../shared/networking.secret.nix - ../../shared/ipfs.nix ]; # Configure kernel diff --git a/nixos/shared/ipfs.nix b/nixos/shared/ipfs.nix deleted file mode 100644 index 5f5e330..0000000 --- a/nixos/shared/ipfs.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ pkgs, ... }: - -{ - # Enable ipfs - services.kubo = { - enable = false; - localDiscovery = true; - enableGC = true; - # it doesn't work in stable - package = pkgs.unstable.kubo; - }; -}