Initial experimental commit
This commit is contained in:
parent
b848f9d893
commit
682a19b13c
146 changed files with 2463 additions and 2389 deletions
16
home/programs/desktop/media/music/default.nix
Normal file
16
home/programs/desktop/media/music/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
#./spotify --- still needs to be implemented
|
||||
./tui
|
||||
];
|
||||
|
||||
options.programs.desktop.media.music = {
|
||||
tui = {
|
||||
enable = lib.mkEnableOption "Enable tui music";
|
||||
};
|
||||
spotify = {
|
||||
enable = lib.mkEnableOption "Enable spotify";
|
||||
};
|
||||
};
|
||||
}
|
||||
17
home/programs/desktop/media/music/tui/default.nix
Normal file
17
home/programs/desktop/media/music/tui/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
cfg = config.programs.desktop.media.music.tui;
|
||||
in
|
||||
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
termusic
|
||||
spotify-player
|
||||
ytui-music
|
||||
alsa-utils
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue