Updated, added features, spotify and discord
This commit is contained in:
@@ -8,5 +8,7 @@
|
||||
./qutebrowser-config.nix
|
||||
./audio.nix
|
||||
./reaper.nix
|
||||
./discord.nix
|
||||
./spotify.nix
|
||||
];
|
||||
}
|
||||
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.discord.enable;
|
||||
in {
|
||||
options.azos.discord.enable = lib.mkOption {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
];
|
||||
};
|
||||
}
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
isEnabled =
|
||||
config.azos.spotify.enable;
|
||||
in {
|
||||
options.azos.spotify.enable = lib.mkOption {
|
||||
default = true;
|
||||
example = true;
|
||||
type = lib.types.bool;
|
||||
};
|
||||
|
||||
config = lib.mkIf isEnabled {
|
||||
home.packages = with pkgs; [
|
||||
spotify
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user