From 23355317d63d955b8a91814f09c66180d80fcf54 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Sun, 19 Apr 2026 01:26:25 +0900 Subject: [PATCH] lupine-3: update hardware config --- .../hardware-configuration/lupine-3.nix | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/hosts/lupine/hardware-configuration/lupine-3.nix b/hosts/lupine/hardware-configuration/lupine-3.nix index 3855e11..73a2169 100644 --- a/hosts/lupine/hardware-configuration/lupine-3.nix +++ b/hosts/lupine/hardware-configuration/lupine-3.nix @@ -1,4 +1,4 @@ -# Do not modify this file! It was generated by 'nixos-generate-config' +# 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, ... }: @@ -14,27 +14,28 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/39ba059b-3205-4701-a832-e72c0122cb88"; - fsType = "ext4"; + { device = "/dev/disk/by-uuid/0a5bda7c-af55-4d3d-9135-7f7cbb78004d"; + fsType = "btrfs"; + options = [ "subvol=@root" "compress=zstd" ]; + }; + + fileSystems."/nix" = + { device = "/dev/disk/by-uuid/0a5bda7c-af55-4d3d-9135-7f7cbb78004d"; + fsType = "btrfs"; + options = [ "subvol=@nix" "noatime" "compress=zstd" ]; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/63FA-297B"; fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; + options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ { device = "/dev/disk/by-uuid/9c72eb54-ea8c-4b09-808a-8be9b9a33869"; } ]; - # 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.enp0s31f6.useDHCP = lib.mkDefault true; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; } +