From f7593078fd2533c124a6707238a84694862d9b65 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 12 May 2025 16:53:29 +0800 Subject: [PATCH] feat(modules/graphical): add pulsemixer package --- modules/hm/default.nix | 1 + modules/hm/programs/default.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 modules/hm/programs/default.nix diff --git a/modules/hm/default.nix b/modules/hm/default.nix index 20dd1fa..10335a9 100644 --- a/modules/hm/default.nix +++ b/modules/hm/default.nix @@ -14,6 +14,7 @@ in imports = [ inputs.home-manager.nixosModules.home-manager ./hardware.nix + ./programs/default.nix ./programs/editor.nix ./programs/de.nix ]; diff --git a/modules/hm/programs/default.nix b/modules/hm/programs/default.nix new file mode 100644 index 0000000..a27f03d --- /dev/null +++ b/modules/hm/programs/default.nix @@ -0,0 +1,18 @@ +{ + config, + lib, + pkgs, + ... +}: +let + username = config.nixosModules.mainUser; +in +{ + config = lib.mkMerge [ + { + home-manager.users."${username}".home.packages = with pkgs; [ + pulsemixer + ]; + } + ]; +}