dotfiles/nix/hardware/blowhole.nix
Magic_RB 442b93ad78
Hardware for blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-09-14 21:59:53 +02:00

22 lines
378 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.magic_rb.hardware.blowhole;
in {
options.magic_rb.hardware.blowhole = mkEnableOption "Enable blowhole.";
config = mkIf cfg {
boot = {
kernelPackages = pkgs.linuxPackages_latest;
};
fileSystems = {
"/" =
{
device = "asd";
fsType = "ext4";
};
};
};
}