2023-11-04 02:28:27 +01:00
|
|
|
{ config, inputs, ... }: {
|
2023-11-16 23:06:28 +01:00
|
|
|
imports = [
|
2023-11-04 02:28:27 +01:00
|
|
|
./hardware-configuration.nix
|
2023-11-16 23:06:28 +01:00
|
|
|
#common-cpu-amd
|
|
|
|
#common-gpu-amd
|
2023-11-04 02:28:27 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
hostcfg = {
|
|
|
|
hostname = "valinor";
|
|
|
|
username = "sora";
|
|
|
|
make = {
|
|
|
|
gui = true;
|
|
|
|
cli = true;
|
|
|
|
virt = true;
|
|
|
|
power = true;
|
|
|
|
game = true;
|
2024-01-19 11:58:52 +01:00
|
|
|
develop = true;
|
2023-11-04 02:28:27 +01:00
|
|
|
};
|
|
|
|
net = {
|
|
|
|
wlp = {
|
|
|
|
enable = true;
|
|
|
|
nif = "wlp3s0";
|
|
|
|
};
|
|
|
|
wg = {
|
|
|
|
enable = true;
|
|
|
|
ip4 = "10.10.1.5/32";
|
|
|
|
ip6 = "fd10:10:10::5/128";
|
|
|
|
pk = config.sops.secrets.valinor_wg_priv.path;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|