nix fmt rfc

This commit is contained in:
Christoph Hollizeck 2024-04-04 19:31:55 +02:00
parent 3a8003e671
commit 56df50bdc1
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
41 changed files with 430 additions and 351 deletions

View file

@ -6,9 +6,11 @@
...
}:
with lib;
with lib.wyrdgard; let
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps._1password;
in {
in
{
options.wyrdgard.apps._1password = with types; {
enable = mkBoolOpt true "Enable 1Password";
};
@ -18,7 +20,7 @@ in {
_1password.enable = true;
_1password-gui = {
enable = true;
polkitPolicyOwners = [config.wyrdgard.user.name];
polkitPolicyOwners = [ config.wyrdgard.user.name ];
};
};
};

View file

@ -6,14 +6,19 @@
...
}:
with lib;
with lib.wyrdgard; let
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.cli-apps.nixvim;
in {
in
{
options.wyrdgard.apps.cli-apps.nixvim = with types; {
enable = mkBoolOpt true "Whether to enable nixvim or not (Default true)";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [less wyrdgard.neovim];
environment.systemPackages = with pkgs; [
less
wyrdgard.neovim
];
};
}

View file

@ -6,16 +6,14 @@
...
}:
with lib;
with lib.wyrdgard; let
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";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
discord
];
};
config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ discord ]; };
}

View file

@ -6,9 +6,11 @@
...
}:
with lib;
with lib.wyrdgard; let
with lib.wyrdgard;
let
cfg = config.wyrdgard.apps.steam;
in {
in
{
options.wyrdgard.apps.steam = with types; {
enable = mkBoolOpt false "Whether or not to enable support for Steam.";
};
@ -17,8 +19,6 @@ in {
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true;
environment.systemPackages = with pkgs; [
steam
];
environment.systemPackages = with pkgs; [ steam ];
};
}

View file

@ -6,9 +6,11 @@
...
}:
with lib;
with lib.wyrdgard; let
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";
};