Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
noonio committed Jul 17, 2024
1 parent f88623d commit 3fdbb93
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions sample-node-config/another-nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

# Get all the relevant binaries
environment.systemPackages = [
hydra.packages."${system}".hydra-node # To run a hydra node
hydra.packages."${system}".hydraw # Hydra drawing game
cardano-node.packages."${system}".cardano-node # To talk to the cardano network
hydra.packages."${system}".hydra-node # To run a hydra node
hydra.packages."${system}".hydraw # Hydra drawing game
cardano-node.packages."${system}".cardano-node # To talk to the cardano network
mithril.packages."${system}".mithril-client-cli # Efficient syncing of the cardano node
cardano-node.packages."${system}".cardano-cli # For any ad-hoc cardano actions we may like to run
cardano-node.packages."${system}".cardano-cli # For any ad-hoc cardano actions we may like to run
];

environment.variables = {
Expand Down
34 changes: 17 additions & 17 deletions sample-node-config/another-nixos/flake.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down Expand Up @@ -29,24 +29,24 @@
, mithril
, genesis-key
, ...
}@inputs:
let
system = "x86_64-linux";
in
{
packages."${system}" = {
vb = nixos-generators.nixosGenerate {
inherit system;
specialArgs = { inherit system cardano-node hydra mithril genesis-key; };
modules = [
./configuration.nix
];
# format = "docker";
# format = "virtualbox";
format = "qcow";
}@inputs:
let
system = "x86_64-linux";
in
{
packages."${system}" = {
vb = nixos-generators.nixosGenerate {
inherit system;
specialArgs = { inherit system cardano-node hydra mithril genesis-key; };
modules = [
./configuration.nix
];
# format = "docker";
# format = "virtualbox";
format = "qcow";
};
};
};
};


nixConfig = {
Expand Down

0 comments on commit 3fdbb93

Please sign in to comment.