Skip to content

Commit

Permalink
feat(boar): switch to new 4TB disk
Browse files Browse the repository at this point in the history
  • Loading branch information
workflow committed Jan 22, 2024
1 parent b1a6e0a commit 1c4bc94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions machines/boar/hardware-scan.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 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, ... }:
{ lib, ... }:

{
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
Expand All @@ -11,13 +11,13 @@

fileSystems."/" =
{
device = "/dev/disk/by-uuid/647ff1a6-e9a1-425b-99ee-806fd2dc25d5";
device = "/dev/disk/by-uuid/0cdc2f83-310d-4c4f-aaaf-5b94afad426a";
fsType = "ext4";
};

fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/F41C-8BCE";
device = "/dev/disk/by-uuid/FCF5-8B05";
fsType = "vfat";
};

Expand All @@ -28,7 +28,7 @@
};

swapDevices =
[{ device = "/dev/disk/by-uuid/61d5dd00-b05f-4d52-9eb7-2124ed6b81af"; }];
[{ device = "/dev/disk/by-uuid/1918e35f-be18-4ca8-a179-9a4e2e5107f8"; }];

powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}
Expand Down
4 changes: 2 additions & 2 deletions machines/boar/system.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:

{
# Use the systemd-boot EFI boot loader.
Expand All @@ -24,7 +24,7 @@
# LVM on LUKS
boot.initrd.luks.devices = {
root = {
device = "/dev/disk/by-uuid/74d4c5f3-f5fe-4aba-ac7a-56b0d28efc64";
device = "/dev/disk/by-uuid/69615b0a-fffd-4424-99e6-e39f11dab27e";
preLVM = true;
};
data-b-enc = {
Expand Down

0 comments on commit 1c4bc94

Please sign in to comment.