Compare commits
2 Commits
d123400ea9
...
163b9e4c22
| Author | SHA1 | Date | |
|---|---|---|---|
| 163b9e4c22 | |||
| d521c3b013 |
@@ -1,18 +1,15 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
# WiFi configuration for NixOS hosts
|
||||
# Import this module on hosts that should connect to WiFi
|
||||
# Credentials stored in secrets/wifi.yaml (access controlled via .sops.yaml)
|
||||
|
||||
sops.secrets.wifi-password-pi = {
|
||||
sopsFile = ./../secrets/wifi.yaml;
|
||||
};
|
||||
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
secretsFile = config.sops.secrets.wifi-password-pi.path;
|
||||
networks = {
|
||||
"pi" = {
|
||||
pskRaw = "ext:wifi-password-pi";
|
||||
pskRaw = "ext:pi";
|
||||
};
|
||||
};
|
||||
# Only enable on wireless interface, not ethernet
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
{
|
||||
imports = [ ./workstation.nix ];
|
||||
|
||||
# Override ghostty to use unstable version (1.2.0+) for ssh-terminfo support
|
||||
programs.ghostty.package = pkgs.unstable.ghostty;
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -18,7 +21,7 @@
|
||||
|
||||
# Extend ghostty configuration from omarchy-nix
|
||||
programs.ghostty.settings = {
|
||||
# Automatically handle TERM compatibility for SSH
|
||||
shell-integration-features = "ssh-env,ssh-terminfo";
|
||||
# Automatically handle TERM compatibility for SSH (requires ghostty 1.2.0+)
|
||||
shell-integration-features = "ssh-terminfo";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
wifi-password-pi: ENC[AES256_GCM,data:uNL8QJxy0tvV2g==,iv:AQyc9j0UpdFnuDFRWEHcIAh0VB4/F8K9YV710ZXynAE=,tag:DmNYDI/2rJ+LQCDcROyqdg==,type:str]
|
||||
wifi-password-pi: ENC[AES256_GCM,data:n5ZfyhBCrHx98uUxFQ==,iv:9SQHcIw252GeS0IxON3ThqOk02Wtlfu/Df6KMLAmokw=,tag:F5pAHlInkqVUQDg8MPnMgQ==,type:str]
|
||||
sops:
|
||||
age:
|
||||
- recipient: age1df9ukkmg9yn9cjeheq9m6wspa420su8qarmq570rdvf2de3rl38saqauwn
|
||||
@@ -19,7 +19,7 @@ sops:
|
||||
aUs0dTB3Y3RXTlBCOCtYSHdOMUYxdTgKQShxsJ+3EQU18uixmM3FlCe5C9Rl3oS5
|
||||
gwZIrh0amSzX3f9SOjf42h1d+IDL/DMWAlSA/3XMx8TK9A1zKZDgVA==
|
||||
-----END AGE ENCRYPTED FILE-----
|
||||
lastmodified: "2025-10-28T17:05:45Z"
|
||||
mac: ENC[AES256_GCM,data:iND5pd6isGy+zhmcgQQD+n9MiNS5xOfqnijpyXtZP/bXyEzzAZ3SvIkPiNvyLbuXCY99AH+AOOvPmQJtGs6RfBtH1qyD/1oiiJLX4Y06BCtI1Vuyrn21S3fYMrlx6aYEIQsKjo7DEo2v1VENSKF+WmrhxngtdmQJxpuFj09oKSM=,iv:dOJuTX0WSW1IcwBGUbIHsBkNMDl7Okw+K37LZQnFbbU=,tag:xX1/+gpIosTV8ChPVbFi2w==,type:str]
|
||||
lastmodified: "2025-10-29T14:55:56Z"
|
||||
mac: ENC[AES256_GCM,data:2zTEzx8UxOMHIytiufCHS/B1ci7kI05+SIE8ziMY8/ItoAYtt0zXXEgRWs0NLVb3P2vXMOhnXG4qO1o20UXt6Wqq9j1zXPVaQTQie4QSPDdX/8OXXi87Ggm3WQyeA1IfABacfL0D6XkNvxfMHGvMrnhYltPPgYDuNlgjnnjTm8o=,iv:FJMKLSlAenvSNUH6OmeGIR7f9Bzl3NwqaUaokoHEj50=,tag:WU4BnlLu5cKSbtiYL0mNKg==,type:str]
|
||||
unencrypted_suffix: _unencrypted
|
||||
version: 3.11.0
|
||||
|
||||
Reference in New Issue
Block a user