Updated, added features, spotify and discord

This commit is contained in:
2025-05-07 22:37:33 +03:00
parent 751cb95bc2
commit a13717962b
5 changed files with 37 additions and 2 deletions
-1
View File
@@ -102,5 +102,4 @@ nix develop .#shells.x86_64-linux.debugTexShell
** Things to work out
*** Mail
*** Notebook tempaltes
+2
View File
@@ -8,5 +8,7 @@
./qutebrowser-config.nix
./audio.nix
./reaper.nix
./discord.nix
./spotify.nix
];
}
+17
View File
@@ -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
];
};
}
+17
View File
@@ -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
];
};
}