summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-06 14:31:50 +0530
committersinanmohd <sinan@firemail.cc>2023-07-06 14:31:50 +0530
commit9babdaa6638ee57807a81f817e211660369ed3a9 (patch)
tree473fbeb38ef64e71d537200999bbe1a941420250
parent93db2141c1373433dc41eb65fbe4b8b707b16dbc (diff)
configuration: use tmpfs for /tmp
-rw-r--r--configuration.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/configuration.nix b/configuration.nix
index a193d6b..f9cea19 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -13,9 +13,12 @@ in
];
# boot
- boot.loader = {
- systemd-boot.enable = true;
- efi.canTouchEfiVariables = true;
+ boot = {
+ tmp.useTmpfs = true;
+ loader = {
+ systemd-boot.enable = true;
+ efi.canTouchEfiVariables = true;
+ };
};
# networking