From 875ef145bc7ffee377ea411903b35ef0caf91f10 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Wed, 3 Nov 2021 14:23:18 +0100 Subject: [PATCH] Update achatina-fulica hardware --- system/achatina-fulica-hardware.nix | 40 ++++++++--------------------- 1 file changed, 10 insertions(+), 30 deletions(-) diff --git a/system/achatina-fulica-hardware.nix b/system/achatina-fulica-hardware.nix index fb9d9c3..9f52bb6 100644 --- a/system/achatina-fulica-hardware.nix +++ b/system/achatina-fulica-hardware.nix @@ -1,42 +1,22 @@ -# 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, ... }: { - imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + imports = + [ (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = - [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; - fileSystems."/" = { - device = "/dev/sda4"; - fsType = "btrfs"; - options = [ "subvol=root" "compress=zstd" "noatime" ]; - }; - - fileSystems."/nix" = { - device = "/dev/sda4"; - fsType = "btrfs"; - options = [ "subvol=nix" "compress=zstd" "noatime" ]; - }; - - fileSystems."/var/log" = { - device = "/dev/sda4"; - fsType = "btrfs"; - options = [ "subvol=log" "compress=zstd" "noatime" ]; - neededForBoot = true; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/6474-5105"; - fsType = "vfat"; - }; + fileSystems."/" = + { device = "/dev/disk/by-uuid/652432d2-a452-496c-b29d-b22c479a8545"; + fsType = "ext4"; + }; swapDevices = - [{ device = "/dev/disk/by-uuid/9969ae69-2a9e-49fe-83ca-1b41ab9205ca"; }]; + [ { device = "/dev/disk/by-uuid/2c090f4d-4163-43b8-8b76-b1ac1c30e755"; } + ]; }