[Init]
This commit is contained in:
33
hosts/valinor/default.nix
Executable file
33
hosts/valinor/default.nix
Executable file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
../_/cfg.nix
|
||||
./hardware-configuration.nix
|
||||
../_/host.nix
|
||||
];
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot = {
|
||||
enable = true;
|
||||
configurationLimit = 8;
|
||||
};
|
||||
efi = {
|
||||
canTouchEfiVariables = true;
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
hostcfg = {
|
||||
hostname = "valinor";
|
||||
wlp_if = "wlp3s0";
|
||||
wg_ip4 = "10.10.1.5/24";
|
||||
wg_ip6 = "fd10:10:10::5/128";
|
||||
wg_pk = config.sops.secrets.valinor_wg_priv.path;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user