added musnix to set env vars allowing vst plugins from lsp-plugins to be

discoverable by OBS and other apps, enabled musnix in laptop
configuration.nix
This commit is contained in:
Gabriella Bere 2024-10-20 19:04:36 +01:00
parent 66c53739ce
commit 3675fbdcc1
3 changed files with 45 additions and 4 deletions

41
flake.lock generated
View file

@ -500,6 +500,24 @@
"type": "github" "type": "github"
} }
}, },
"musnix": {
"inputs": {
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1729112290,
"narHash": "sha256-6yqnhnzgM99mzY4/yrKR1Xlkjt+VQg4gP6cMlIKxQs0=",
"owner": "musnix",
"repo": "musnix",
"rev": "64356c2b84abb26b8ccf1e01df8448635cbfde64",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -554,6 +572,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1726755586,
"narHash": "sha256-PmUr/2GQGvFTIJ6/Tvsins7Q43KTMvMFhvG6oaYK+Wk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c04d5652cfa9742b1d519688f65d1bbccea9eb7e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1728888510, "lastModified": 1728888510,
"narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=", "narHash": "sha256-nsNdSldaAyu6PE3YUA+YQLqUDJh+gRbBooMMekZJwvI=",
@ -569,7 +603,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1725194671, "lastModified": 1725194671,
"narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=", "narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=",
@ -669,7 +703,8 @@
"flatpaks": "flatpaks", "flatpaks": "flatpaks",
"home-manager": "home-manager", "home-manager": "home-manager",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2", "musnix": "musnix",
"nixpkgs": "nixpkgs_3",
"nixvim": "nixvim", "nixvim": "nixvim",
"satisfactory-server": "satisfactory-server", "satisfactory-server": "satisfactory-server",
"stablepkgs": "stablepkgs", "stablepkgs": "stablepkgs",
@ -765,7 +800,7 @@
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_3", "home-manager": "home-manager_3",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"systems": "systems_3", "systems": "systems_3",
"tinted-foot": "tinted-foot", "tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty", "tinted-kitty": "tinted-kitty",

View file

@ -40,6 +40,8 @@
}; };
stylix.url = "github:danth/stylix"; stylix.url = "github:danth/stylix";
musnix.url = "github:musnix/musnix";
}; };
outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs: outputs = { self, nixpkgs, stablepkgs, home-manager, ... } @ inputs:
@ -61,6 +63,7 @@
./modules/aagl.nix ./modules/aagl.nix
inputs.aagl.nixosModules.default inputs.aagl.nixosModules.default
inputs.lanzaboote.nixosModules.lanzaboote inputs.lanzaboote.nixosModules.lanzaboote
inputs.musnix.nixosModules.musnix
# inputs.stylix.nixosModules.stylix # inputs.stylix.nixosModules.stylix
{ nix.settings = inputs.aagl.nixConfig; } # Setup cachix for aagl projects { nix.settings = inputs.aagl.nixConfig; } # Setup cachix for aagl projects

View file

@ -117,6 +117,9 @@
#media-session.enable = true; #media-session.enable = true;
}; };
musnix.enable = true;
# pam.services = [ # pam.services = [
# { name = "gnome_keyring" # { name = "gnome_keyring"
# text = '' # text = ''
@ -136,7 +139,7 @@
users.users.blue = { users.users.blue = {
isNormalUser = true; isNormalUser = true;
description = "Gabriella Bere"; description = "Gabriella Bere";
extraGroups = [ "networkmanager" "wheel" "dialout" ]; extraGroups = [ "networkmanager" "wheel" "dialout" "audio" ];
shell = pkgs.zsh; shell = pkgs.zsh;
}; };