adjusted workvm configuration

This commit is contained in:
christoph.hollizeck 2024-03-26 22:05:03 +01:00 committed by Christoph Hollizeck
parent 08f6189869
commit 21774ac23a
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
36 changed files with 466 additions and 326 deletions

View file

@ -1,10 +1,14 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let cfg = config.wyrdgard.tools.direnv;
in
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.tools.direnv;
in {
options.wyrdgard.tools.direnv = with types; {
enable = mkBoolOpt false "Whether or not to enable direnv.";
};

View file

@ -1,13 +1,15 @@
{ options, config, lib, pkgs, ... }:
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
let
with lib.wyrdgard; let
cfg = config.wyrdgard.tools.git;
user = config.wyrdgard.user;
in
{
in {
options.wyrdgard.tools.git = with types; {
enable = mkBoolOpt true "Wether or not to enable git (Default enabled)";
userName = mkOpt types.str user.fullName "The name to use git with";
@ -24,8 +26,8 @@ in
enable = true;
lfs.enable = true;
config = {
init = { defaultBranch = "main"; };
push = { autoSetupRemote = true; };
init = {defaultBranch = "main";};
push = {autoSetupRemote = true;};
};
};
};

View file

@ -1,12 +1,14 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.tools.nix-ld;
in
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.tools.nix-ld;
in {
options.wyrdgard.tools.nix-ld = with types; {
enable = mkBoolOpt false "Wether or not to enable nix-ld";
};