Use tmpfs option rather than setting it manually
This commit is contained in:
parent
ff730b8217
commit
55c91df1f1
|
@ -1,6 +1,8 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
let systemInformation = import ../system/system-information.nix; in
|
||||
{
|
||||
boot.tmpOnTmpfs = true;
|
||||
boot.tmpOnTmpfsSize = "75%";
|
||||
boot.initrd.luks.devices = {
|
||||
cryptoroot = {
|
||||
device = systemInformation.rootPartition;
|
||||
|
@ -33,14 +35,6 @@ let systemInformation = import ../system/system-information.nix; in
|
|||
# Uncomment this once the root fs is actually btrfs
|
||||
# fsType = "btrfs";
|
||||
};
|
||||
"/tmp" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = [
|
||||
"size=75%"
|
||||
"mode=777"
|
||||
];
|
||||
};
|
||||
"/boot/efi" = {
|
||||
device = systemInformation.efiPartition;
|
||||
fsType = "vfat";
|
||||
|
|
Loading…
Reference in a new issue