]> gitweb.ps.run Git - flake_server/blob - hardware-configuration.nix
update
[flake_server] / hardware-configuration.nix
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 + "/profiles/qemu-guest.nix")
9     ];
10
11   boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
12   boot.initrd.kernelModules = [ ];
13   boot.kernelModules = [ ];
14   boot.extraModulePackages = [ ];
15
16   fileSystems."/" =
17     { device = "/dev/disk/by-uuid/a1c50f96-d85b-41a9-983e-fee4810c9818";
18       fsType = "ext4";
19     };
20
21   fileSystems."/boot" =
22     { device = "/dev/disk/by-uuid/64B5-AEB2";
23       fsType = "vfat";
24       options = [ "fmask=0077" "dmask=0077" ];
25     };
26
27   swapDevices = [ ];
28
29   # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
30   # (the default) this is the recommended approach. When using systemd-networkd it's
31   # still possible to use this option, but it's recommended to use it in conjunction
32   # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
33   networking.useDHCP = lib.mkDefault true;
34   # networking.interfaces.ens3.useDHCP = lib.mkDefault true;
35
36   nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
37 }