feat: added preliminary music and multimedia modules

This commit is contained in:
serenity-F 2026-09-22 05:57:32 +10:00
parent 4f460cbd16
commit 20575bb49d
No known key found for this signature in database
2 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,54 @@
{ 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
];
};
};
}