From 0ded255210f70a780a6d21b7f98283d138df9460 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Wed, 15 Sep 2021 18:40:13 +0300 Subject: [PATCH] change amd-workstation hardware conf --- .../AMD-Workstation/hardware-configuration.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/machines/AMD-Workstation/hardware-configuration.nix b/machines/AMD-Workstation/hardware-configuration.nix index 252cd95..6e0c868 100644 --- a/machines/AMD-Workstation/hardware-configuration.nix +++ b/machines/AMD-Workstation/hardware-configuration.nix @@ -14,35 +14,41 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e"; + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; fsType = "btrfs"; options = [ "subvol=nixos" "compress-force=zstd" "noatime" "autodefrag" "ssd" ]; }; fileSystems."/nix" = - { device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e"; + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; fsType = "btrfs"; options = [ "subvol=nix" "compress-force=zstd" "noatime" "autodefrag" "ssd" ]; }; fileSystems."/home" = - { device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e"; + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; fsType = "btrfs"; options = [ "subvol=home" "compress-force=zstd" "noatime" "autodefrag" "ssd" ]; }; fileSystems."/var" = - { device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e"; + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; fsType = "btrfs"; options = [ "subvol=var" "compress-force=zstd" "noatime" "autodefrag" "ssd" ]; }; fileSystems."/media/bittorrent" = - { device = "/dev/disk/by-uuid/6dd76867-e5be-4237-9af3-1aeaf0cbe04e"; + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; fsType = "btrfs"; options = [ "subvol=bittorrent" "nodatacow" "ssd" ]; }; + fileSystems."/media/libvirt" = + { device = "/dev/disk/by-uuid/be70ce11-d42d-4b5b-ba03-32ffd8e1491f"; + fsType = "btrfs"; + options = [ "subvol=libvirt" "nodatacow" "ssd" ]; + }; + fileSystems."/boot" = { device = "/dev/disk/by-uuid/948B-11EC"; fsType = "vfat"; @@ -57,7 +63,7 @@ # high-resolution display hardware.video.hidpi.enable = lib.mkDefault true; - networking.hostId = "fb781078"; + networking.hostId = "a517ac4a"; boot.initrd.supportedFilesystems = [ "btrfs" ]; boot.supportedFilesystems = [ "btrfs" ]; }