Preparations for converting it to a flake
This commit is contained in:
parent
3005da4ea1
commit
e8ff7698d4
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
hardware-configuration.nix
|
||||
host-configuration.nix
|
@ -1,30 +0,0 @@
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
### set hostname
|
||||
# networking.hostname = "hostname";
|
||||
|
||||
# cryptsetup
|
||||
boot.initrd.luks.devices = {
|
||||
lvmroot = {
|
||||
# device="/dev/disk/by-uuid/<UUID>";
|
||||
allowDiscards = true;
|
||||
fallbackToPassword = true;
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
|
||||
# bootloader setup
|
||||
boot.loader = {
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
# nixos doesn't use a separate /efi and doesn't need it because the images are tiny
|
||||
# efiSysMountPoint = "/boot";
|
||||
};
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
netbootxyz.enable = true;
|
||||
memtest86.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user