all repos — nixfiles @ a666f0f73054ee5d579a6442b9e84573129d1f03

System and user configuration, managed by nix and home-manager

hasel: regenerate hardware config

Alin
commit

a666f0f73054ee5d579a6442b9e84573129d1f03

parent

5d982d843f6890733fd6dd3184c3140d62f5293e

1 file changed, 37 insertions(+), 17 deletions(-)

changed files
M system/hosts/hasel-hardware.nix → system/hosts/hasel-hardware.nix
@@ -1,32 +1,52 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.availableKernelModules = [ + "ata_piix" + "uhci_hcd" + "virtio_pci" + "sr_mod" + "virtio_blk" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/76ab3165-681a-4ad6-ad58-6b81dc079870"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/DE3A-D5A2"; - fsType = "vfat"; - options = [ "fmask=0022" "dmask=0022" ]; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/76ab3165-681a-4ad6-ad58-6b81dc079870"; + fsType = "ext4"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/140ebe6f-5a39-49d5-9b64-8d80288cb819"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/DE3A-D5A2"; + fsType = "vfat"; + options = [ + "fmask=0022" + "dmask=0022" ]; + }; + + fileSystems."/data" = { + device = "/dev/disk/by-uuid/7abdf73f-1bc0-4d61-8cb1-98abe6f29540"; + fsType = "ext4"; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/140ebe6f-5a39-49d5-9b64-8d80288cb819"; } + ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }