mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
22 lines
424 B
Nix
22 lines
424 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
gensokyo-zone,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkIf;
|
|
inherit (gensokyo-zone.lib) mkAlmostOptionDefault;
|
|
in {
|
|
boot = {
|
|
loader = mkIf (config.nixpkgs.system == "x86_64-linux") {
|
|
systemd-boot.enable = mkAlmostOptionDefault true;
|
|
efi.canTouchEfiVariables = mkAlmostOptionDefault true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [
|
|
pkgs.pciutils
|
|
pkgs.usbutils
|
|
];
|
|
}
|