surface: Fix issues

This commit is contained in:
2021-09-04 20:16:58 +02:00
parent 06ce36a741
commit 944496c2d9
3 changed files with 55 additions and 49 deletions

View File

@@ -8,25 +8,31 @@ in mkHost config {
overlays = [ "nur" "unstable" "simple" "custom" ];
hardwareImports = [
"intel"
#"surface-pro6"
"wifi"
"mobile"
"surface-pro6"
];
programImports = [
"zsh" "git" "mpv" "tmux" "firefox" "gnome-terminal" "gnome" "i18n"
"distributed-build/offload.nix"
];
fileSystems = {
"/" = {
device = "/dev/nvme0n1p1";
device = "/dev/disk/by-label/root";
fsType = "btrfs";
};
"/boot" = {
device = "/dev/nvme0n1p3";
device = "/dev/disk/by-label/boot";
fsType = "vfat";
}
};
};
swapDevices = [
# TODO
{
device = "/dev/disk/by-label/swap";
}
];
extraOptions = old: {
networking.wireless.enable = true;
hardware.video.hidpi.enable = true;
boot = {
extraModprobeConfig = ''