From defafa584dc8cfab03fc74cef15f32ac57e09cab Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 16 Nov 2024 17:26:05 -0500 Subject: [PATCH] move gui packages to their own file so they don't have to be installed on servers --- flake.nix | 1 + nixos/gui-pkgs.nix | 18 ++++++++++++++++++ nixos/pkg.nix | 10 ---------- 3 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 nixos/gui-pkgs.nix diff --git a/flake.nix b/flake.nix index 1805789..644871c 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ ./nixos/eclipse-hw-configuration.nix ./nixos/environment.nix ./nixos/git.nix + ./nixos/gui-pkgs.nix ./nixos/nvidia.nix ./nixos/nvim.nix ./nixos/pkg.nix diff --git a/nixos/gui-pkgs.nix b/nixos/gui-pkgs.nix new file mode 100644 index 0000000..31adf9b --- /dev/null +++ b/nixos/gui-pkgs.nix @@ -0,0 +1,18 @@ +{ pkgs, ... }: { + # kde stuff + environment.systemPackages = with pkgs.kdePackages; [ + #partitionmanager + + # catppuccin + (pkgs.catppuccin-kde.override { + flavour = [ "mocha" "macchiato" "frappe" "latte" ]; + accents = [ "blue" ]; + winDecStyles = [ "classic" ]; + }) + ]; + + programs.partition-manager.enable = true; + + fonts.packages = with pkgs; + [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ]; +} diff --git a/nixos/pkg.nix b/nixos/pkg.nix index 93420b5..f2b3ba2 100755 --- a/nixos/pkg.nix +++ b/nixos/pkg.nix @@ -46,18 +46,8 @@ # javascript stuff 🤮 nodejs corepack - - # catppuccin - (catppuccin-kde.override { - flavour = [ "mocha" "macchiato" "frappe" "latte" ]; - accents = [ "blue" ]; - winDecStyles = [ "classic" ]; - }) ]; - fonts.packages = with pkgs; - [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ]; - # install docker virtualisation.docker = { enable = true; };