Make the disko config a module.
This commit is contained in:
@@ -3,10 +3,16 @@
|
||||
imports = [
|
||||
../../common/global
|
||||
../../common/base-node.nix
|
||||
./disk-config.nix
|
||||
../../common/encrypted-btrfs-layout.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
diskLayout = {
|
||||
mainDiskDevice = "/dev/disk/by-id/ata-FORESEE_512GB_SSD_MP15B03900928";
|
||||
#keyDiskDevice = "/dev/disk/by-id/usb-Intenso_Micro_Line_22080777660586-0:0";
|
||||
keyDiskDevice = "/dev/sdb";
|
||||
};
|
||||
|
||||
networking.hostName = "chilly";
|
||||
services.tailscaleAutoconnect.authkey = "tskey-auth-kRXS9oPyPm11CNTRL-BE6YnbP9J6ZZuV9dHkX17ZMnm1JGdu93";
|
||||
services.consul.interface.advertise = lib.mkForce "enp1s0";
|
||||
|
||||
Reference in New Issue
Block a user