diff options
| author | Fuwn <[email protected]> | 2024-10-03 02:15:11 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-03 02:23:13 -0700 |
| commit | c45147632d45b0a395aa3383b49fb4764c66c36e (patch) | |
| tree | ff2fe3de13f3166ba15261ae8acc10379af9179f /hosts/akashi/hardware-configuration.nix | |
| parent | hosts: move hosts to unique modules (diff) | |
| download | nixos-config-c45147632d45b0a395aa3383b49fb4764c66c36e.tar.xz nixos-config-c45147632d45b0a395aa3383b49fb4764c66c36e.zip | |
hosts: use common wording instead of default
Diffstat (limited to 'hosts/akashi/hardware-configuration.nix')
| -rw-r--r-- | hosts/akashi/hardware-configuration.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/hosts/akashi/hardware-configuration.nix b/hosts/akashi/hardware-configuration.nix index a264937..f06ef10 100644 --- a/hosts/akashi/hardware-configuration.nix +++ b/hosts/akashi/hardware-configuration.nix @@ -7,7 +7,7 @@ let nixosDevice = "/dev/disk/by-uuid/78655110-4037-4b06-9407-f155c595c3a3"; - btrfsOptions = [ + commonBtrfsOptions = [ "compress-force=zstd:1" "noatime" "discard=async" @@ -46,25 +46,25 @@ in "/" = { device = nixosDevice; fsType = "btrfs"; - options = btrfsOptions ++ [ "subvol=@" ]; + options = commonBtrfsOptions ++ [ "subvol=@" ]; }; "/home" = { device = nixosDevice; fsType = "btrfs"; - options = btrfsOptions ++ [ "subvol=@home" ]; + options = commonBtrfsOptions ++ [ "subvol=@home" ]; }; "/var" = { device = nixosDevice; fsType = "btrfs"; - options = btrfsOptions ++ [ "subvol=@var" ]; + options = commonBtrfsOptions ++ [ "subvol=@var" ]; }; "/nix" = { device = nixosDevice; fsType = "btrfs"; - options = btrfsOptions ++ [ "subvol=@nix" ]; + options = commonBtrfsOptions ++ [ "subvol=@nix" ]; }; "/boot" = { |