nixos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 24203e7058444229097b0ef1040d904b75636b4f
parent c4fa2edbc4252d4b0649fefc34cb6d5939279128
Author: Toni Brown <me@tb148.net>
Date:   Sat, 31 Jan 2026 07:17:20 +0800

stupid mistake

Diffstat:
Mflake.lock | 16++++++++--------
Mhardware-configuration.nix | 30+++++++++++-------------------
2 files changed, 19 insertions(+), 27 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1769432988, - "narHash": "sha256-q4arZjXnLiuMnLzO972lrXIGdzyGb4DGaIt69CcCYdE=", + "lastModified": 1769784115, + "narHash": "sha256-QIZLsan8c+Kje4rqlXUd9KW/Rmpss5p5GNqV0V12OY8=", "ref": "main", - "rev": "d7a8632c0d8d144478aac1a8c8d5083b770cbb03", - "revCount": 591, + "rev": "d745dab3172e426fef9767f46651ba073db4d04b", + "revCount": 595, "type": "git", "url": "ssh://git@github.com/catppuccin/nix.git" }, @@ -28,11 +28,11 @@ ] }, "locked": { - "lastModified": 1769638001, - "narHash": "sha256-hGwdJ/+oo+IRo2TiWV/V8BWWptQihcdFV/olTONaHqg=", + "lastModified": 1769812714, + "narHash": "sha256-fqUiHXCkB0XSlbTUeNC0wWhM0itGEdEPvVk6x+wHnRY=", "ref": "master", - "rev": "bd9f031efc634be4b80c5090b9171cc3a9f8e49c", - "revCount": 6169, + "rev": "1a7b0c4315c800d44d6953c2393d5c5127a99ad4", + "revCount": 6175, "type": "git", "url": "ssh://git@github.com/nix-community/home-manager.git" }, diff --git a/hardware-configuration.nix b/hardware-configuration.nix @@ -12,7 +12,7 @@ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod"]; + boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "vmd" "nvme" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.kernelModules = []; boot.kernelModules = ["kvm-intel"]; boot.extraModulePackages = []; @@ -23,16 +23,22 @@ options = ["subvol=root"]; }; - fileSystems."/home" = { + fileSystems."/nix" = { device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; fsType = "btrfs"; - options = ["subvol=home"]; + options = ["subvol=nix"]; }; - fileSystems."/nix" = { + fileSystems."/swap" = { device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; fsType = "btrfs"; - options = ["subvol=nix"]; + options = ["subvol=swap"]; + }; + + fileSystems."/home" = { + device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; + fsType = "btrfs"; + options = ["subvol=home"]; }; fileSystems."/boot" = { @@ -41,22 +47,8 @@ options = ["fmask=0022" "dmask=0022"]; }; - fileSystems."/swap" = { - device = "/dev/disk/by-uuid/18af5e11-1470-4fa6-9577-8e8ba513857c"; - fsType = "btrfs"; - options = ["subvol=swap"]; - }; - 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.<interface>.useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp44s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }