mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
22 lines
364 B
Nix
22 lines
364 B
Nix
{ config, flake, ... }:
|
|
let
|
|
inherit (flake.config.people.users) user0;
|
|
in
|
|
{
|
|
networking.wireless = {
|
|
networks = {
|
|
"TheWeeFeez!" = {
|
|
psk = config.sops.secrets."wifi-home".path;
|
|
};
|
|
};
|
|
};
|
|
sops = {
|
|
secrets = {
|
|
"wifi-home" = {
|
|
path = "/var/lib/secrets/wifi-home-pass";
|
|
owner = user0;
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|