From cfdb81ffdc26e6a53c0caad57290ebbac0f4c1e6 Mon Sep 17 00:00:00 2001 From: "Alexandre Cavalheiro S. Tiago da Silva" Date: Thu, 19 Sep 2024 00:50:56 -0300 Subject: [PATCH] fix(nixos): move specific packages to desktop --- modules/nixos/packages.nix | 7 ------- specific/desktop/nixos.nix | 16 +++++++++++++++- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/modules/nixos/packages.nix b/modules/nixos/packages.nix index 90ff3c1..7e07012 100644 --- a/modules/nixos/packages.nix +++ b/modules/nixos/packages.nix @@ -50,7 +50,6 @@ ## Tools # Utilities bat - btrfs-progs duf fuseiso lm_sensors @@ -98,11 +97,5 @@ ## Libraries libsForQt5.qt5.qtgraphicaleffects libsForQt5.qt5.qtquickcontrols2 - pkgsi686Linux.gperftools # Needed for TF2 rn :( - - ## Hardware specific - openrazer-daemon # Razor products back-end - polychromatic # and it's front-end - vial ]; } diff --git a/specific/desktop/nixos.nix b/specific/desktop/nixos.nix index 2514b97..473d6ca 100644 --- a/specific/desktop/nixos.nix +++ b/specific/desktop/nixos.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { imports = [ @@ -138,4 +138,18 @@ # Enable WOL on my ethernet interface. networking.interfaces.enp5s0.wakeOnLan.enable = true; + + # + # PACKAGES # + # + environment.systemPackages = with pkgs; [ + ## Tools + # Utilities + btrfs-progs + + ## Hardware specific + openrazer-daemon # Razor products back-end + polychromatic # and it's front-end + vial + ]; }