diff --git a/nixos/configs/default.nix b/nixos/configs/default.nix index 4802a95..81bbfc2 100644 --- a/nixos/configs/default.nix +++ b/nixos/configs/default.nix @@ -23,6 +23,6 @@ in nova-ai = novaConfig (with mods; [ ivand ai ]); install-iso = configWithModules { modules = (with mods; [ grub base shell wireless ]); }; 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 ]); }; }; } diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index a2ad192..cd85265 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -7,8 +7,15 @@ top@{ inputs, moduleWithSystem, ... }: { let theme = pkgs.sleek-grub-theme.override { withBanner = "Hello Ivan"; withStyle = "bigSur"; }; 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; }; }; });