Move tmp to tmpfs and add smartctl

This commit is contained in:
Fabian Hauser 2020-02-27 21:02:07 +00:00
parent 58ce179e1b
commit 89121d488a
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;