diff --git a/hosts/hl-bigbox2.hardware-configuration.nix b/hosts/hl-bigbox2.hardware-configuration.nix index 8ad4476..7392a0e 100644 --- a/hosts/hl-bigbox2.hardware-configuration.nix +++ b/hosts/hl-bigbox2.hardware-configuration.nix @@ -1,6 +1,3 @@ -# 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, ... }: { @@ -12,55 +9,62 @@ boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; - boot.loader.grub = { - enable = true; - device = "/dev/sdg"; # install GRUB to MBR - efiSupport = false; - }; - boot.loader.efi.canTouchEfiVariables = false; - fileSystems."/" = - { device = "/dev/disk/by-uuid/d8cbcc6d-a61c-411e-9d1c-dca986261d86"; + { device = "/dev/disk/by-uuid/6f050bcc-7579-48a9-b535-74076e78c5cd"; fsType = "btrfs"; options = [ "subvol=@root" ]; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/ae5fd844-bee4-4694-90eb-19591589eaad"; + { device = "/dev/disk/by-uuid/dab0ee8d-44b9-4b1e-b19a-01929f509820"; fsType = "ext4"; }; - fileSystems."/nix/store" = - { device = "/dev/disk/by-uuid/31eb6380-6c3a-4f79-a13c-8ccc4e775fe7"; + fileSystems."/var" = + { device = "/dev/disk/by-uuid/6f050bcc-7579-48a9-b535-74076e78c5cd"; fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@var" ]; + }; + + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/8cd6e560-4db9-4cf1-8048-27a7c6308965"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@nix" ]; }; fileSystems."/home" = - { device = "/dev/disk/by-uuid/249085eb-f465-4075-8e26-c61a5993d3bf"; + { device = "/dev/disk/by-uuid/6f4b2adc-5818-41ea-a4ba-720fb96b8f98"; fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@home" ]; }; fileSystems."/data/fourTerra" = { device = "/dev/sde1"; fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@data" ]; }; - fileSystems."/data/twoHundoGigs" = - { device = "/dev/disk/by-uuid/fb6f1634-c0cc-440f-8fbf-1b655b39245a"; + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/8cd6e560-4db9-4cf1-8048-27a7c6308965"; fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@nix" ]; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/6f4b2adc-5818-41ea-a4ba-720fb96b8f98"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@home" ]; + }; + + fileSystems."/data/fourTerra" = + { device = "/dev/sde1"; + fsType = "btrfs"; + options = [ "compress=zstd" "subvol=@data" ]; }; swapDevices = [ ]; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; - # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }