This commit is contained in:
Daniel Langbein 2023-09-16 12:51:40 +02:00
parent dc325e22c4
commit de7cbc2052
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
6 changed files with 21 additions and 9 deletions

View File

@ -50,6 +50,12 @@ in
../../modules/dns.nix ../../modules/dns.nix
]; ];
# Manually enable compression
# https://nixos.wiki/wiki/Btrfs#Compression
fileSystems = {
"/".options = [ "compress=zstd" ];
};
networking.hostName = "yodaTab"; networking.hostName = "yodaTab";
services.openssh.ports = [ 22 ]; services.openssh.ports = [ 22 ];
boot.initrd.network.ssh.port = 22; boot.initrd.network.ssh.port = 22;

View File

@ -16,9 +16,7 @@
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/f87e6b3c-12f2-4fda-92b3-06b07bdad58f"; { device = "/dev/disk/by-uuid/f87e6b3c-12f2-4fda-92b3-06b07bdad58f";
fsType = "btrfs"; fsType = "btrfs";
# Manually enable compression options = [ "subvol=@" ];
# https://nixos.wiki/wiki/Btrfs#Compression
options = [ "subvol=@" "compress=zstd" ];
}; };
boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".device = "/dev/disk/by-uuid/ba8b94d0-7f70-496a-ad87-eadc5e852aad"; boot.initrd.luks.devices."luks-ba8b94d0-7f70-496a-ad87-eadc5e852aad".device = "/dev/disk/by-uuid/ba8b94d0-7f70-496a-ad87-eadc5e852aad";

View File

@ -50,6 +50,12 @@ in
../../modules/dns.nix ../../modules/dns.nix
]; ];
# Manually enable compression
# https://nixos.wiki/wiki/Btrfs#Compression
fileSystems = {
"/".options = [ "compress=zstd" ];
};
networking.hostName = "yodaTux"; networking.hostName = "yodaTux";
services.openssh.ports = [ 22 ]; services.openssh.ports = [ 22 ];
boot.initrd.network.ssh.port = 22; boot.initrd.network.ssh.port = 22;

View File

@ -16,9 +16,7 @@
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/01f67928-9b35-48b2-aaa6-c58ff6c440a8"; { device = "/dev/disk/by-uuid/01f67928-9b35-48b2-aaa6-c58ff6c440a8";
fsType = "btrfs"; fsType = "btrfs";
# Manually enable compression options = [ "subvol=@" ];
# https://nixos.wiki/wiki/Btrfs#Compression
options = [ "subvol=@" "compress=zstd" ];
}; };
boot.initrd.luks.devices."luks-ea7099e3-320d-4eb3-a4c3-9910a9af817b".device = "/dev/disk/by-uuid/ea7099e3-320d-4eb3-a4c3-9910a9af817b"; boot.initrd.luks.devices."luks-ea7099e3-320d-4eb3-a4c3-9910a9af817b".device = "/dev/disk/by-uuid/ea7099e3-320d-4eb3-a4c3-9910a9af817b";

View File

@ -52,6 +52,12 @@ in
../../modules/dns.nix ../../modules/dns.nix
]; ];
# Manually enable compression
# https://nixos.wiki/wiki/Btrfs#Compression
fileSystems = {
"/".options = [ "compress=zstd" ];
};
networking.hostName = "yodaYoga"; networking.hostName = "yodaYoga";
services.openssh.ports = [ 2224 ]; services.openssh.ports = [ 2224 ];
boot.initrd.network.ssh.port = 2225; boot.initrd.network.ssh.port = 2225;

View File

@ -15,9 +15,7 @@
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/90156ea3-7098-445f-932f-0db166787284"; { device = "/dev/disk/by-uuid/90156ea3-7098-445f-932f-0db166787284";
fsType = "btrfs"; fsType = "btrfs";
# Manually enable compression options = [ "subvol=@" ];
# https://nixos.wiki/wiki/Btrfs#Compression
options = [ "subvol=@" "compress=zstd" ];
}; };
boot.initrd.luks.devices."luks-a8521407-e25b-4f26-8e7a-a56fcbfd2e35".device = "/dev/disk/by-uuid/a8521407-e25b-4f26-8e7a-a56fcbfd2e35"; boot.initrd.luks.devices."luks-a8521407-e25b-4f26-8e7a-a56fcbfd2e35".device = "/dev/disk/by-uuid/a8521407-e25b-4f26-8e7a-a56fcbfd2e35";