grace/dots

dotfiles/nix configs

git clone https://git.gae.moe/grace/dots

Grace Yoderhamano againfdde154

vulcan
1.4 KiB47 linesraw
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{
5  config,
6  lib,
7  pkgs,
8  modulesPath,
9  ...
10}:
11
12{
13  imports = [
14    (modulesPath + "/profiles/qemu-guest.nix")
15  ];
16
17  boot.initrd.availableKernelModules = [
18    "ata_piix"
19    "uhci_hcd"
20    "virtio_pci"
21    "sr_mod"
22    "virtio_blk"
23  ];
24  boot.initrd.kernelModules = [ ];
25  boot.kernelModules = [ ];
26  boot.extraModulePackages = [ ];
27
28  fileSystems."/" = {
29    device = "/dev/disk/by-uuid/09759176-834c-4c87-ada7-7092adcb1320";
30    fsType = "ext4";
31  };
32
33  swapDevices = [
34    { device = "/dev/disk/by-uuid/7c0dd096-b1dd-4a12-bdd0-cc212ac541e6"; }
35  ];
36
37  # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
38  # (the default) this is the recommended approach. When using systemd-networkd it's
39  # still possible to use this option, but it's recommended to use it in conjunction
40  # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
41  networking.useDHCP = lib.mkDefault true;
42  # networking.interfaces.ens3.useDHCP = lib.mkDefault true;
43  # networking.interfaces.ens4.useDHCP = lib.mkDefault true;
44  # networking.interfaces.ens5.useDHCP = lib.mkDefault true;
45
46  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
47}