feat: add music nix

This commit is contained in:
uttarayan21
2024-07-27 16:50:51 +05:30
parent 373ffdb458
commit 2aaa3e28ef
4 changed files with 28 additions and 1 deletions

21
flake.lock generated
View File

@@ -1562,6 +1562,26 @@
"type": "github"
}
},
"musnix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1721613486,
"narHash": "sha256-M7RCvk8aqCFWQIPKS7pdFPJ+0QdZv6EjNWE5dBq/MvE=",
"owner": "musnix",
"repo": "musnix",
"rev": "410be50500882ed4d0672acef2f9e757d3d5372d",
"type": "github"
},
"original": {
"owner": "musnix",
"repo": "musnix",
"type": "github"
}
},
"naersk": {
"inputs": {
"nixpkgs": "nixpkgs_4"
@@ -2349,6 +2369,7 @@
"ironbar": "ironbar",
"lanzaboote": "lanzaboote",
"music-player": "music-player",
"musnix": "musnix",
"neovim": "neovim",
"nix-darwin": "nix-darwin_2",
"nix-index-database": "nix-index-database",

View File

@@ -83,6 +83,10 @@
url = "github:uttarayan21/shell-plugins";
inputs.nixpkgs.follows = "nixpkgs";
};
musnix = {
url = "github:musnix/musnix";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {

View File

@@ -194,7 +194,7 @@
users.users.servius = {
isNormalUser = true;
description = "Uttarayan";
extraGroups = ["networkmanager" "wheel"];
extraGroups = ["networkmanager" "wheel" "audio"];
};
# Allow unfree packages
@@ -228,6 +228,7 @@
};
};
musnix.enable = true;
programs = {
hyprland.enable = true;
hyprland.xwayland.enable = true;

View File

@@ -22,6 +22,7 @@ builtins.listToAttrs (builtins.map (device: {
./configuration.nix
home-manager.nixosModules.home-manager
inputs.lanzaboote.nixosModules.lanzaboote
inputs.musnix.nixosModules.musnix
{
nixpkgs.config.allowUnfree = true;
home-manager = {