Compare commits

..

No commits in common. "14d95869a61aa71c973c4a8b8ffd1e37dbf1b6d5" and "4ecf5d10d68e79c177d36e2baf465e84eeba3228" have entirely different histories.

2 changed files with 1 additions and 63 deletions

View File

@ -1,62 +0,0 @@
{ config, lib, modulesPath, pkgs, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
# Hostname
networking.hostName = "asus-desktop";
# Bootloader and boot options
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
# Filesystems
fileSystems."/" = {
device = "/dev/disk/by-uuid/c2fa161a-04ab-4452-88df-81dd7d0760fc";
fsType = "ext4";
};
fileSystems."/run/media/ulysse-cura/Raptor1" = {
device = "/dev/disk/by-uuid/ce60cff8-ac96-4d97-87fe-58cc9d363522";
fsType = "ext4";
};
fileSystems."/run/media/ulysse-cura/Raptor2" = {
device = "/dev/disk/by-uuid/7d8a3d40-7bce-47c6-8cbe-8af05abfd8b3";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/43AB-8A97";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [{
device = "/dev/disk/by-uuid/f9ec99de-8b93-405c-b2fe-56ea5069144c";
}];
# Platform misc
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# Enable and configure nvidia graphics drivers
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = false;
hardware.nvidia.modesetting.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_580;
hardware.graphics.extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
];
}

View File

@ -5,7 +5,7 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
# Hostname
# Hostname.
networking.hostName = "thinkpad-p50";
# Enable bluetooth