Move tmp to tmpfs and add smartctl
This commit is contained in:
parent
58ce179e1b
commit
89121d488a
2 changed files with 2 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
||||||
../role/dropbear.nix
|
../role/dropbear.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.tmpOnTmpfs = true;
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
"root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1";
|
"root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1";
|
||||||
"swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49";
|
"swap".device = "/dev/disk/by-uuid/6dee6e3c-e2f3-46c5-8751-5fce8c80ed49";
|
||||||
|
@ -25,7 +26,6 @@
|
||||||
|
|
||||||
swapDevices = [{ device = "/dev/mapper/swap"; }];
|
swapDevices = [{ device = "/dev/mapper/swap"; }];
|
||||||
|
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget curl vim tmux git ncat bind
|
wget curl vim tmux git ncat bind
|
||||||
fwupd pciutils dmidecode parted
|
fwupd pciutils dmidecode smartmontools parted
|
||||||
];
|
];
|
||||||
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue