Skip to content

Commit

Permalink
test: create_ap
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Feb 19, 2024
1 parent 43cb9a2 commit ddf2f69
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 49 deletions.
90 changes: 45 additions & 45 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions home-manager/modules/desktop/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
remmina
element-desktop
rustdesk
linux-wifi-hotspot
];
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
Expand Down
12 changes: 12 additions & 0 deletions nixos/hosts/arx8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,16 @@
refind
efibootmgr
];
services.create_ap = {
enable = true;
settings = {
INTERNET_IFACE = "wlp4s0";
WIFI_IFACE = "wlp4s0";
SSID = "ARX8";
PASSPHRASE = "qwertyut";
# HIDDEN = 1;
IEEE80211AX = 1;
FREQ_BAND = 5;
};
};
}
8 changes: 4 additions & 4 deletions nixos/modules/services/matrix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ in
owner = "matrix-synapse";
group = "acme";
};
"b2_synapse_media_key_id".sopsFile = config.sops-file.get "terraform/common.yaml";
"b2_synapse_media_access_key".sopsFile = config.sops-file.get "terraform/common.yaml";
};
sops.secrets."b2_synapse_media_key_id".sopsFile = config.sops-file.get "terraform/common.yaml";
sops.secrets."b2_synapse_media_access_key".sopsFile = config.sops-file.get "terraform/common.yaml";
services.matrix-synapse = {
enable = true;
withJemalloc = true;
Expand Down Expand Up @@ -213,7 +213,7 @@ in
service = "element";
};
matrix-admin = {
rule = "Host(`admin.m.dora.im`)";
rule = "Host(`m-admin.dora.im`)";
entryPoints = ["https"];
service = "matrix-admin";
};
Expand Down Expand Up @@ -244,7 +244,7 @@ in
root = element-web-config;
};
};
virtualHosts."admin.m.*" = {
virtualHosts."m-admin.*" = {
locations."/" = {
root = pkgs.synapse-admin;
};
Expand Down

0 comments on commit ddf2f69

Please sign in to comment.