dotfiles/physical/nuc.nix

39 lines
1,006 B
Nix
Raw Normal View History

2016-08-26 20:14:24 +02:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
2018-02-27 16:31:16 +01:00
yorick = { cpu = "intel"; gpu = "intel"; };
2016-08-26 20:14:24 +02:00
2017-02-02 16:31:19 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2016-08-26 20:14:24 +02:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fa5026b1-0f73-4233-a417-780c65f3f038";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/729B-0F6C";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/086b6aaa-a737-4747-91d6-b4923bf14858"; }
];
nix.maxJobs = lib.mkDefault 4;
services.xserver.videoDrivers = ["intel"];
2017-02-02 16:31:19 +01:00
environment.systemPackages = with pkgs; [
btrfs-progs
];
2016-08-26 20:14:24 +02:00
}