mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: update flake, introduce dev input
This commit is contained in:
parent
8f898bcb9b
commit
2830b98729
10 changed files with 198 additions and 233 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ self, lib, config, ... }:
|
||||
{ self, lib, pkgs, config, ... }:
|
||||
let
|
||||
certsSopsFile = self + /secrets/certs/secrets.yaml;
|
||||
clientSopsFile = self + /secrets/${config.networking.hostName}/secrets.yaml;
|
||||
|
|
@ -81,6 +81,12 @@ in
|
|||
networkmanager = {
|
||||
enable = true;
|
||||
wifi.backend = "iwd";
|
||||
plugins = [
|
||||
# list of plugins: https://search.nixos.org/packages?query=networkmanager-
|
||||
# docs https://networkmanager.dev/docs/vpn/
|
||||
pkgs.networkmanager-openconnect
|
||||
pkgs.networkmanager-openvpn
|
||||
];
|
||||
ensureProfiles = lib.mkIf (!config.swarselsystems.isPublic) {
|
||||
environmentFiles = [
|
||||
"${config.sops.templates."network-manager.env".path}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue