summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2023-07-06 14:31:50 +0530
committersinanmohd <sinan@sinanmohd.com>2023-07-06 14:31:50 +0530
commit68a13bd77999a71a63fe317ca47c1b01cefa4e2c (patch)
tree473fbeb38ef64e71d537200999bbe1a941420250
parent6a3de9374cdc02c4b9e992f1906a96e3474533cf (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