From 89121d488a78ff4f065c2db920bcad206937e9cd Mon Sep 17 00:00:00 2001 From: Fabian Date: Thu, 27 Feb 2020 21:02:07 +0000 Subject: [PATCH] Move tmp to tmpfs and add smartctl --- host/montalin.nix | 2 +- role/base.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/montalin.nix b/host/montalin.nix index 784010c..97ef6a0 100644 --- a/host/montalin.nix +++ b/host/montalin.nix @@ -13,6 +13,7 @@ ../role/dropbear.nix ]; + boot.tmpOnTmpfs = true; boot.initrd.luks.devices = { "root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1"; "swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49"; @@ -25,7 +26,6 @@ swapDevices = [{ device = "/dev/mapper/swap"; }]; - # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; diff --git a/role/base.nix b/role/base.nix index 8766d59..7d4ca94 100644 --- a/role/base.nix +++ b/role/base.nix @@ -15,7 +15,7 @@ environment.systemPackages = with pkgs; [ wget curl vim tmux git ncat bind - fwupd pciutils dmidecode parted + fwupd pciutils dmidecode smartmontools parted ]; services.fwupd.enable = true;