dotfiles/nixos/machines/uber-loaner.nix

47 lines
1.1 KiB
Nix
Raw Normal View History

2018-06-05 23:14:33 -06:00
{ config, lib, pkgs, ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
../configuration.nix
2018-06-24 17:40:02 -06:00
../games.nix
../extra.nix
2018-06-05 23:14:33 -06:00
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
2018-06-16 23:40:50 -06:00
boot.extraModulePackages = [ pkgs.linuxPackages.rtl8814au ];
2018-06-16 20:18:11 -06:00
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.enable = true;
2019-02-27 16:09:32 -07:00
services.xserver = {
libinput.enable = true;
};
hardware.facetimehd.enable = true;
2018-06-16 20:18:11 -06:00
fileSystems."/boot" = {
device = "/dev/disk/by-label/EFI";
fsType = "vfat";
};
2018-06-05 23:14:33 -06:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2958f04b-8387-4a0c-abc1-f12036c53581";
fsType = "ext4";
};
2018-07-14 20:26:10 -06:00
swapDevices =
[ { device = "/dev/disk/by-uuid/33c38b23-af1a-4bc4-913e-c774f1030817"; }
];
2018-06-05 23:14:33 -06:00
fileSystems."/tmp" =
{ device = "tmpfs";
fsType = "tmpfs";
};
networking.hostName = "uber-loaner";
2018-06-05 23:14:33 -06:00
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2018-06-16 20:18:11 -06:00
users.extraUsers.root.initialHashedPassword = "";
2018-06-05 23:14:33 -06:00
}