nix: use 22.11 stable nixpkgs #13

Merged
pleshevskiy merged 16 commits from stable-nix into main 2023-03-31 17:40:22 +03:00
3 changed files with 16 additions and 16 deletions
Showing only changes of commit 517094a3f8 - Show all commits

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
@ -11,6 +11,7 @@
../../shared/gnupg.nix ../../shared/gnupg.nix
../../shared/garbage-collector.nix ../../shared/garbage-collector.nix
../../shared/networking.secret.nix ../../shared/networking.secret.nix
../../shared/ipfs.nix
]; ];
# Use latest kernel # Use latest kernel
@ -58,13 +59,6 @@
# Enable the Docker # Enable the Docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Enable ipfs
services.kubo = {
enable = true;
localDiscovery = true;
enableGC = true;
};
# Additional nix configs # Additional nix configs
local.nix.enableMyRegistry = true; local.nix.enableMyRegistry = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
@ -11,6 +11,7 @@
../../shared/gnupg.nix ../../shared/gnupg.nix
../../shared/garbage-collector.nix ../../shared/garbage-collector.nix
../../shared/networking.secret.nix ../../shared/networking.secret.nix
../../shared/ipfs.nix
]; ];
# Configure kernel # Configure kernel
@ -83,13 +84,6 @@
# Enable the Docker # Enable the Docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# Enable ipfs
services.kubo = {
enable = true;
localDiscovery = true;
enableGC = true;
};
# Additional nix configs # Additional nix configs
local.nix.enableMyRegistry = true; local.nix.enableMyRegistry = true;

12
nixos/shared/ipfs.nix Normal file
View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
# Enable ipfs
services.kubo = {
enable = true;
localDiscovery = true;
enableGC = true;
# it doesn't work in stable
package = pkgs.unstable.kubo;
};
}