dotfiles/physical/nuc.nix

41 lines
1.1 KiB
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>
2018-03-11 19:21:08 +01:00
<yori-nix/physical>
2016-08-26 20:14:24 +02:00
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
2018-03-11 19:21:08 +01:00
hardware.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";
2018-05-12 18:12:16 +02:00
options = ["defaults" "relatime" "discard"];
2016-08-26 20:14:24 +02:00
};
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"];
2018-11-20 22:29:47 +01:00
networking.wireless.enable = true;
2017-02-02 16:31:19 +01:00
environment.systemPackages = with pkgs; [
btrfs-progs
];
2016-08-26 20:14:24 +02:00
}