add bitcoind

This commit is contained in:
Ivan Kirilov Dimitrov 2024-07-24 10:05:13 +02:00
parent 9ed0dbb95c
commit 6efeb73394
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
2 changed files with 10 additions and 4 deletions

View File

@ -47,7 +47,7 @@ in
inherit inputs inputs';
packages = config.packages;
};
modules = essential ++ [ nixosModules.nonya ];
modules = essential ++ (with nixosModules; [ anon cryptocurrency ]);
});
ai = withSystem system (ctx@{ config, inputs', ... }: inputs.nixpkgs.lib.nixosSystem {
specialArgs = {

View File

@ -143,9 +143,15 @@ top@{ moduleWithSystem, ... }: {
ai = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
services = { ollama.enable = true; };
});
nonya = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ tor-browser electrum monero-cli ];
services.monero = { enable = true; };
anon = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ tor-browser ];
});
cryptocurrency = moduleWithSystem (toplevel@{ ... }: perSystem@{ pkgs, ... }: {
environment.systemPackages = with pkgs; [ monero-cli ];
services = {
monero.enable = true;
bitcoind.mainnet.enable = true;
};
});
};
}