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,9 +1,14 @@
{ options, config, lib, pkgs, ... }:
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps._1password;
in
{
in {
options.wyrdgard.apps._1password = with types; {
enable = mkBoolOpt false "Enable 1Password";
};
@ -13,7 +18,7 @@ in
_1password.enable = true;
_1password-gui = {
enable = true;
polkitPolicyOwners = [ config.wyrdgard.user.name ];
polkitPolicyOwners = [config.wyrdgard.user.name];
};
};
};

View file

@ -1,17 +0,0 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.cli-apps.fish;
in
{
options.wyrdgard.apps.cli-apps.fish = with types; {
enable = mkBoolOpt false "Whether or not to enable the fish shell";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
fish
fishPlugins.tide
];
};
}

View file

@ -1,9 +1,14 @@
{ options, config, lib, pkgs, ... }:
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.discord;
in
{
in {
options.wyrdgard.apps.discord = with types; {
enable = mkBoolOpt false "Whether or not to enable basic configuration";
};

View file

@ -1,11 +1,14 @@
{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.steam;
in
{
options,
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.steam;
in {
options.wyrdgard.apps.steam = with types; {
enable = mkBoolOpt false "Whether or not to enable support for Steam.";
};

View file

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