add spectacle config, add spotify, fix cinny video playback with gstreamer
refactor some stuff to look nicer and have more structure too
This commit is contained in:
parent
56a64c1e0e
commit
dc99f3d24d
15 changed files with 283 additions and 145 deletions
23
modules/nixos/cli/wireguard/default.nix
Normal file
23
modules/nixos/cli/wireguard/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.cli.wireguard;
|
||||
in
|
||||
{
|
||||
options.${namespace}.cli.wireguard = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to use wiguard-tools.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
networking.wireguard = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue