diff --git a/modules/nixos/common.nix b/modules/nixos/common.nix index 2260e70..d63a681 100644 --- a/modules/nixos/common.nix +++ b/modules/nixos/common.nix @@ -34,6 +34,7 @@ in { environment = { variables = { EDITOR = "hx"; + SYSTEMD_EDITOR = "hx"; VISUAL = "hx"; PAGER = "less"; MANPAGER = "less"; diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 3e7f804..1a6b694 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -17,6 +17,7 @@ with builtins; "melee" "pipewire" "pipewire-low-latency" + "music-production" "podman" "postgres" "printing" diff --git a/modules/nixos/music-production.nix b/modules/nixos/music-production.nix new file mode 100644 index 0000000..afb746f --- /dev/null +++ b/modules/nixos/music-production.nix @@ -0,0 +1,24 @@ +{pkgs, ...}: { + # TODO: may want to force nixpkgs-stable for a more-stable music production + # environment? + imports = [ + { + # DAW + environment.systemPackages = with pkgs; [ + ardour + ]; + } + { + # synths/VSTs + environment.systemPackages = with pkgs; [ + helm + ]; + } + ]; + + # TODO: things to look into for music production: + # - https://linuxmusicians.com/viewtopic.php?t=27016 + # - KXStudio? + # - falktx (https://github.com/DISTRHO/Cardinal) + # - +} diff --git a/nixos/thinker.nix b/nixos/thinker.nix index b1cbf53..5d0272a 100644 --- a/nixos/thinker.nix +++ b/nixos/thinker.nix @@ -13,6 +13,7 @@ inputs.hardware.nixosModules.lenovo-thinkpad-t480 inputs.hardware.nixosModules.common-pc-laptop-ssd desktop-usage + music-production podman # gnome kde-plasma @@ -49,9 +50,9 @@ initrd.availableKernelModules = ["xhci_pci" "nvme" "ahci"]; }; services.tlp = { - enable = true; + enable = false; }; - services.power-profiles-daemon.enable = false; + services.power-profiles-daemon.enable = true; hardware.bluetooth.enable = true; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; services.printing.enable = true; # I own a printer in the year of our Lord 2023