Nix configurations for my personal machines (Linux & macOS)
1{ 2 delib, 3 pkgs, 4 ... 5}: 6delib.module { 7 name = "programs.desktop-cli"; 8 9 options = delib.singleEnableOption true; 10 11 home.ifEnabled.home.packages = with pkgs; [ 12 age-plugin-yubikey 13 alejandra 14 cachix 15 claude-code 16 claude-code-router 17 fastfetch 18 hexyl 19 lazydocker 20 macchina 21 minio-client 22 mix2nix 23 minisign 24 mtr 25 nix-output-monitor 26 pgcli 27 rage 28 systemctl-tui 29 ]; 30 31 nixos.ifEnabled = {myconfig, ...}: { 32 programs.nh = { 33 enable = true; 34 flake = "/etc/nixos"; 35 }; 36 37 environment.systemPackages = with pkgs.gst_all_1; [ 38 gstreamer 39 gst-vaapi 40 gst-libav 41 gst-plugins-good 42 gst-plugins-ugly 43 gst-plugins-bad 44 ]; 45 }; 46 47 darwin.ifEnabled = {myconfig, ...}: { 48 environment.systemPackages = with pkgs; [nh]; 49 environment.variables.NH_FLAKE = "/Users/${myconfig.constants.username}/.config/nix-darwin"; 50 }; 51}