mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-18 15:49:45 +01:00
20 lines
373 B
Nix
20 lines
373 B
Nix
|
{ profile }:
|
||
|
|
||
|
let
|
||
|
shim = {
|
||
|
boot.loader.systemd-boot.enable = true;
|
||
|
|
||
|
fileSystems."/" = {
|
||
|
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||
|
fsType = "btrfs";
|
||
|
};
|
||
|
|
||
|
nixpkgs.config = {
|
||
|
allowBroken = true;
|
||
|
allowUnfree = true;
|
||
|
};
|
||
|
};
|
||
|
in (import <nixpkgs/nixos> {
|
||
|
configuration.imports = [ profile shim ];
|
||
|
}).system
|