summaryrefslogtreecommitdiff
path: root/hosts/akashi/hardware-configuration.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-03 02:15:11 -0700
committerFuwn <[email protected]>2024-10-03 02:23:13 -0700
commitc45147632d45b0a395aa3383b49fb4764c66c36e (patch)
treeff2fe3de13f3166ba15261ae8acc10379af9179f /hosts/akashi/hardware-configuration.nix
parenthosts: move hosts to unique modules (diff)
downloadnixos-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.nix10
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" = {