revert "nix: merge all nix programs into applications.nix"

This reverts commit 29296d8bbc1ec338643883b97bbe82aa0b21d424.
This commit is contained in:
Nico 2025-05-03 16:16:01 +10:00
parent c9ea6d3f3f
commit 04d7ae93f5
4 changed files with 20 additions and 16 deletions

View file

@ -28,6 +28,7 @@
./modules/linux/desktop.nix
./modules/linux/ssh.nix
./modules/linux/opensnitch.nix
./modules/linux/applications.nix
./modules/linux/hyprland.nix
./modules/linux/users.nix
./modules/linux/secureboot.nix

View file

@ -1,8 +1,5 @@
{ config, lib, pkgs, ... }:
let
isLinux = pkgs.hostPlatform.system == "linux";
in
{
environment.systemPackages = with pkgs; [
spotify
@ -12,18 +9,5 @@ in
element-desktop
keepassxc
ani-cli
]
++ lib.optionals (pkgs.hostPlatform.system == "linux") [
# linux-specific/broken on OSX
mpv
ghostty
thunderbird
krita
openutau
]
++ lib.optionals (pkgs.hostPlatform.system == "darwin") [
iina
utm
raycast
];
}

View file

@ -21,6 +21,13 @@
"/Applications/OpenUTAU.app"
];
# nix pkgs
environment.systemPackages = with pkgs; [
iina
utm
raycast # it actually picks up on my applications installed through nix (crazy right)
];
# homebrew pkgs
homebrew = {
enable = true;

View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
# nix pkgs
environment.systemPackages = with pkgs; [
mpv
ghostty
thunderbird
krita
openutau
];
}