From d36b32c84e12fc976125833077a1acc101956b31 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Sun, 21 Aug 2022 23:21:15 +0200 Subject: [PATCH] add profiles.daw --- flake.nix | 6 ++++++ profiles/daw/default.nix | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 profiles/daw/default.nix diff --git a/flake.nix b/flake.nix index dbb3475f..2bf78197 100644 --- a/flake.nix +++ b/flake.nix @@ -41,6 +41,10 @@ nixos-hardware.url = "github:nixos/nixos-hardware"; nixos-generators.url = "github:nix-community/nixos-generators"; + + # hensoko additions + musnix.url = "github:musnix/musnix"; + musnix.inputs.nixpkgs.follows = "nixos"; }; outputs = @@ -53,6 +57,7 @@ , agenix , nvfetcher , deploy + , musnix , ... } @ inputs: digga.lib.mkFlake @@ -102,6 +107,7 @@ digga.nixosModules.nixConfig home.nixosModules.home-manager agenix.nixosModules.age + musnix.nixosModules.musnix ]; }; diff --git a/profiles/daw/default.nix b/profiles/daw/default.nix new file mode 100644 index 00000000..894de4e7 --- /dev/null +++ b/profiles/daw/default.nix @@ -0,0 +1,21 @@ +{ self, config, home-manager, lib, pkgs, inputs, ... }: +let + psCfg = config.pub-solar; +in +{ + # Sets nrdxp.cachix.org binary cache which just speeds up some builds + imports = [ ../cachix ]; + + config = { + pub-solar.audio.enable = lib.mkForce true; + + musnix.enable = true; + + environment.systemPackages = with pkgs; [ + ardour + helm + ]; + + services.pipewire.jack.enable = true; + }; +}