Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Restore desktop tools

+23
+1
home/desktop/default.nix
··· 12 12 13 13 imports = [ 14 14 ./niri/default.nix 15 + ./tools.nix 15 16 ]; 16 17 }
+22
home/desktop/tools.nix
··· 1 + { lib, config, pkgs, ... }: 2 + 3 + with lib; 4 + let 5 + cfg = config.modules.desktop; 6 + in { 7 + options.modules.desktop.tools = { 8 + enable = mkOption { 9 + default = cfg.enable; 10 + example = true; 11 + description = "Whether to enable basic desktop tools."; 12 + type = types.bool; 13 + }; 14 + }; 15 + 16 + config = mkIf cfg.tools.enable { 17 + home.packages = with pkgs; [ 18 + pwvucontrol 19 + mission-center 20 + ]; 21 + }; 22 + }