mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -06:00
feat: fixed network droppedout issue
This commit is contained in:
parent
34b4fb7bf3
commit
fa99516ddb
3 changed files with 27 additions and 2 deletions
22
modules/nixos/desktop/network/default.nix
Normal file
22
modules/nixos/desktop/network/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue