cleanup names
This commit is contained in:
52
systems/x86_64-linux/nuc-nixos/default.nix
Normal file
52
systems/x86_64-linux/nuc-nixos/default.nix
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
# ./hardware-configuration.nix
|
||||
./users.nix
|
||||
./sops.nix
|
||||
];
|
||||
|
||||
security.tpm2 = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
${namespace} = {
|
||||
services.home-assistant.enable = true;
|
||||
hardware.disko = {
|
||||
enable = true;
|
||||
filesystem = "btrfs";
|
||||
};
|
||||
impermanence.enable = true;
|
||||
network = {
|
||||
hostName = "nuc-nixos";
|
||||
useNetworkd = false;
|
||||
ipv4 = {
|
||||
method = "manual";
|
||||
address = "10.0.1.4/24";
|
||||
gateway = "10.0.1.1";
|
||||
dns = "10.0.1.1";
|
||||
interface = "wlo1";
|
||||
};
|
||||
wifi = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"Joey's Jungle 6G" = {
|
||||
ssid = "Joey's Jungle 6G";
|
||||
keyMgmt = "sae";
|
||||
};
|
||||
};
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowPing = true;
|
||||
allowedTCPPorts = [ 8192 ];
|
||||
allowedUDPPorts = [ 8192 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user