nixos-dotfiles

nixos-dotfiles

https://git.tonybtw.com/nixos-dotfiles.git git://git.tonybtw.com/nixos-dotfiles.git
1,512 bytes raw
1
# Do not modify this file!  It was generated by ‘nixos-generate-config’
2
# and may be overwritten by future invocations.  Please make changes
3
# to /etc/nixos/configuration.nix instead.
4
{ config, lib, pkgs, modulesPath, ... }:
5
6
{
7
  imports =
8
    [ (modulesPath + "/installer/scan/not-detected.nix")
9
    ];
10
11
  boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
12
  boot.initrd.kernelModules = [ ];
13
  boot.kernelModules = [ "kvm-intel" ];
14
  boot.extraModulePackages = [ ];
15
16
  fileSystems."/" =
17
    { device = "/dev/disk/by-uuid/10f1514b-e441-4ec9-8af7-a2c2aef1ea5a";
18
      fsType = "ext4";
19
    };
20
21
  fileSystems."/boot" =
22
    { device = "/dev/disk/by-uuid/AC57-0142";
23
      fsType = "vfat";
24
      options = [ "fmask=0022" "dmask=0022" ];
25
    };
26
27
  swapDevices =
28
    [ { device = "/dev/disk/by-uuid/adf96073-a6d5-47b9-be6c-0449c5ac207a"; }
29
    ];
30
31
  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
32
  # (the default) this is the recommended approach. When using systemd-networkd it's
33
  # still possible to use this option, but it's recommended to use it in conjunction
34
  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
35
  networking.useDHCP = lib.mkDefault true;
36
  # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
37
38
  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
39
  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
40
}