nix: merge all nix programs into applications.nix

This commit is contained in:
Nico 2025-05-03 16:16:01 +10:00
parent ec7c50dedc
commit 11b8a03564
4 changed files with 14 additions and 18 deletions

View file

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

View file

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

View file

@ -19,13 +19,6 @@
"${pkgs.gimp}/Applications/GNU Image Manipulation Program.app" "${pkgs.gimp}/Applications/GNU Image Manipulation Program.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 pkgs
homebrew = { homebrew = {
enable = true; enable = true;

View file

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