move gui packages to their own file so they don't have to be installed on servers

This commit is contained in:
Seaswimmer 2024-11-16 17:26:05 -05:00
parent 5500d90343
commit defafa584d
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 19 additions and 10 deletions

View file

@ -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

18
nixos/gui-pkgs.nix Normal file
View file

@ -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" ]; }) ];
}

View file

@ -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; };