tweak: moved modules out of /programs
This commit is contained in:
parent
ed44c29daa
commit
d47b4c5bde
6 changed files with 0 additions and 0 deletions
64
modules/features/music.nix
Normal file
64
modules/features/music.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ self, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# general music module declaration
|
||||
flake.nixosModules.music =
|
||||
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# for home manager functionality
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
home-manager.users.serenity = {
|
||||
|
||||
# audio effects
|
||||
services.easyeffects.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# players
|
||||
spotify # corporate garbage
|
||||
strawberry # qt music player
|
||||
|
||||
# misc
|
||||
audacity # audio editing
|
||||
puddletag # file tagger
|
||||
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
# music production module declaration
|
||||
flake.nixosModules.music-production =
|
||||
|
||||
{ pkgs, musnix, ... }:
|
||||
|
||||
{
|
||||
|
||||
# for home manager functionality
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
boot = { };
|
||||
|
||||
#musnix.enable = true;
|
||||
|
||||
users.users.serenity.extraGroups = [ "audio" ];
|
||||
home-manager.users.serenity = {
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# daws
|
||||
bespokesynth
|
||||
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue