nix fmt rfc
This commit is contained in:
parent
3a8003e671
commit
56df50bdc1
41 changed files with 430 additions and 351 deletions
|
@ -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 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 ]; };
|
||||
}
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue