aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/caladan
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/caladan')
-rw-r--r--hosts/caladan/default.nix32
1 files changed, 17 insertions, 15 deletions
diff --git a/hosts/caladan/default.nix b/hosts/caladan/default.nix
index 90a91fe..88ae3f9 100644
--- a/hosts/caladan/default.nix
+++ b/hosts/caladan/default.nix
@@ -109,12 +109,14 @@
networking = {
defaultGateway = {
address = "192.168.1.1";
- interface = "enp16s0";
+ #interface = "enp16s0";
+ interface = "wlp15s0";
};
hostId = "8981d1e5";
hostName = "caladan";
interfaces = {
- enp16s0 = {
+ #enp16s0 = {
+ wlp15s0 = {
ipv4.addresses = [
{ address = "192.168.1.4"; prefixLength = 24; }
];
@@ -126,15 +128,15 @@
"bitgnome.net"
];
useDHCP = false;
- #wireless = {
- # enable = true;
- # networks = {
- # "Crystal Palace" = {
- # pskRaw = "ext:psk_crystal_palace";
- # };
- # };
- # secretsFile = "${config.sops.secrets."wpa_supplicant".path}";
- #};
+ wireless = {
+ enable = true;
+ networks = {
+ "Crystal Palace" = {
+ pskRaw = "ext:psk_crystal_palace";
+ };
+ };
+ secretsFile = "${config.sops.secrets."wpa_supplicant".path}";
+ };
};
nixpkgs = {
@@ -196,10 +198,10 @@
"nftables/ssh" = {};
"nix-access-token-github" = {};
"ssh_config".path = "/root/.ssh/config";
- #"wpa_supplicant" = {
- # group = config.users.users.wpa_supplicant.group;
- # owner = config.users.users.wpa_supplicant.name;
- #};
+ "wpa_supplicant" = {
+ group = config.users.users.wpa_supplicant.group;
+ owner = config.users.users.wpa_supplicant.name;
+ };
};
};