surface: Fix issues
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user