23 lines
484 B
Nix
23 lines
484 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./impermanence.nix
|
|
./sshd.nix
|
|
./user-ppetru.nix
|
|
];
|
|
|
|
boot.initrd.kernelModules = [ "usb_storage" ];
|
|
boot.initrd.luks.devices."luksroot" = {
|
|
allowDiscards = true;
|
|
bypassWorkqueues = true;
|
|
keyFileSize = 4096;
|
|
keyFile = "/dev/sda";
|
|
};
|
|
|
|
# Use the systemd-boot EFI boot loader.
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking.networkmanager.enable = true;
|
|
}
|