Update btrfs settings for rainbow
This commit is contained in:
parent
b1a7366eb4
commit
5be2c2e58d
|
@ -1,9 +1,9 @@
|
||||||
# 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
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }: let
|
||||||
|
btrfs_options = [ "compress=zstd:3" "noatime" ];
|
||||||
{
|
in {
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/a242e1fd-6848-4504-909f-ab8b61f97c8e";
|
{ device = "/dev/disk/by-uuid/a242e1fd-6848-4504-909f-ab8b61f97c8e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@nixos" ];
|
options = [ "subvol=@nixos" ] ++ btrfs_options;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd.luks.devices."main".device = "/dev/disk/by-uuid/9b24d79f-e018-4d70-84a9-5a1b49a6c610";
|
boot.initrd.luks.devices."main".device = "/dev/disk/by-uuid/9b24d79f-e018-4d70-84a9-5a1b49a6c610";
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
fileSystems."/home" =
|
fileSystems."/home" =
|
||||||
{ device = "/dev/disk/by-uuid/a242e1fd-6848-4504-909f-ab8b61f97c8e";
|
{ device = "/dev/disk/by-uuid/a242e1fd-6848-4504-909f-ab8b61f97c8e";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@home" ];
|
options = [ "subvol=@home" ] ++ btrfs_options;
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot/efi" =
|
fileSystems."/boot/efi" =
|
||||||
|
|
Loading…
Reference in a new issue