adding hardware to miner

This commit is contained in:
Ivan Kirilov Dimitrov 2024-08-04 19:08:59 +02:00
parent 76266ac03e
commit 793790226b
No known key found for this signature in database
GPG Key ID: 0BDAD4B211C49294
2 changed files with 10 additions and 3 deletions

View File

@ -23,6 +23,6 @@ in
nova-ai = novaConfig (with mods; [ ivand ai ]); nova-ai = novaConfig (with mods; [ ivand ai ]);
install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); }; install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); };
vps = configWithModules { modules = (with mods; [ base shell security vps ]); }; vps = configWithModules { modules = (with mods; [ base shell security vps ]); };
stara-miner = configWithModules { modules = (with mods; [ base shell security monero-miner ]); }; stara-miner = configWithModules { hardware = import /etc/nixos/hardware-configuration.nix; modules = (with mods; [ base shell security monero-miner ]); };
}; };
} }

View File

@ -7,8 +7,15 @@ top@{ inputs, moduleWithSystem, ... }: {
let let
theme = pkgs.sleek-grub-theme.override { withBanner = "Hello Ivan"; withStyle = "bigSur"; }; theme = pkgs.sleek-grub-theme.override { withBanner = "Hello Ivan"; withStyle = "bigSur"; };
in in
{ enable = pkgs.lib.mkDefault true; useOSProber = true; efiSupport = true; device = "nodev"; theme = theme; splashImage = "${theme}/background.png"; }; {
efi = { canTouchEfiVariables = true; }; enable = pkgs.lib.mkDefault true;
useOSProber = true;
efiSupport = true;
device = "nodev";
theme = theme;
splashImage = "${theme}/background.png";
};
efi.canTouchEfiVariables = true;
}; };
}; };
}); });