nix: use 22.11 stable nixpkgs #13
3 changed files with 16 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,6 +11,7 @@
|
|||
../../shared/gnupg.nix
|
||||
../../shared/garbage-collector.nix
|
||||
../../shared/networking.secret.nix
|
||||
../../shared/ipfs.nix
|
||||
];
|
||||
|
||||
# Use latest kernel
|
||||
|
@ -58,13 +59,6 @@
|
|||
# Enable the Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Enable ipfs
|
||||
services.kubo = {
|
||||
enable = true;
|
||||
localDiscovery = true;
|
||||
enableGC = true;
|
||||
};
|
||||
|
||||
# Additional nix configs
|
||||
local.nix.enableMyRegistry = true;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -11,6 +11,7 @@
|
|||
../../shared/gnupg.nix
|
||||
../../shared/garbage-collector.nix
|
||||
../../shared/networking.secret.nix
|
||||
../../shared/ipfs.nix
|
||||
];
|
||||
|
||||
# Configure kernel
|
||||
|
@ -83,13 +84,6 @@
|
|||
# Enable the Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Enable ipfs
|
||||
services.kubo = {
|
||||
enable = true;
|
||||
localDiscovery = true;
|
||||
enableGC = true;
|
||||
};
|
||||
|
||||
# Additional nix configs
|
||||
local.nix.enableMyRegistry = true;
|
||||
|
||||
|
|
12
nixos/shared/ipfs.nix
Normal file
12
nixos/shared/ipfs.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue