From ecc6c51a91524eecbb20c23581993279cbfb8a41 Mon Sep 17 00:00:00 2001 From: Matthew Bessette Date: Sun, 5 Apr 2026 04:14:28 +0000 Subject: [PATCH] new fs? --- caesium.hardware.nix | 60 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 caesium.hardware.nix diff --git a/caesium.hardware.nix b/caesium.hardware.nix new file mode 100644 index 0000000..1cafcbe --- /dev/null +++ b/caesium.hardware.nix @@ -0,0 +1,60 @@ +# 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 + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/9523b80b-8a1f-4784-9750-9b8fadf91b92"; + fsType = "btrfs"; + options = [ "subvol=@" ]; + }; + + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/9523b80b-8a1f-4784-9750-9b8fadf91b92"; + fsType = "btrfs"; + options = [ "subvol=@nix" ]; + }; + + fileSystems."/usr/local/steam-games" = + { device = "/dev/disk/by-uuid/9523b80b-8a1f-4784-9750-9b8fadf91b92"; + fsType = "btrfs"; + options = [ "subvol=@steam" ]; + }; + + fileSystems."/usr/local/bottles" = + { device = "/dev/disk/by-uuid/9523b80b-8a1f-4784-9750-9b8fadf91b92"; + fsType = "btrfs"; + options = [ "subvol=@bottles" ]; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/038C-E1E1"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/ddbb8d84-7704-45a0-93b4-7d38905755f3"; + fsType = "ext4"; + }; + + fileSystems."/usr/local/Projects" = + { device = "/dev/disk/by-uuid/bd31dc44-4bc0-4080-95c7-faee9ebc2b79"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +}