fix xrdp, add vpn vm

This commit is contained in:
Kopatz
2025-06-02 15:08:38 +02:00
parent 6c21647214
commit 3bf278cef4
42 changed files with 306 additions and 89 deletions

View File

@@ -1,12 +1,15 @@
{ lib, pkgs, ... }:
{ lib, pkgs, osConfig, ... }:
# https://nix-community.github.io/nixvim/NeovimOptions/index.html
let
cfg = osConfig.custom.nixvimPlugins;
args = { inherit lib pkgs; };
importFile = file:
let config = import file;
in if builtins.isFunction config then config args else config;
configs = map importFile [
./config.nix
] ++ lib.optionals cfg [
./auto-pairs.nix
./autosave.nix
./blankline.nix
@@ -26,7 +29,6 @@ let
./trouble.nix
./which_key.nix
./wilder.nix
./config.nix
];
merged =
builtins.foldl' (acc: elem: lib.recursiveUpdate acc elem) { } configs;