workstation client should have the default set of needed software

This commit is contained in:
chloe 2025-07-02 21:21:29 +02:00
parent f1604be829
commit fdee7b7cf3
6 changed files with 75 additions and 20 deletions

View file

@ -0,0 +1,3 @@
{
imports = [ ./nvidia.nix ];
}

View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
boot.blacklistedKernelModules = [ "nouveau" ];
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
open = false;
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
./workstation.nix
./discord.nix
];
}

View file

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(discord.override {
withVencord = true;
})
vesktop
];
# screen record support
xdg = {
autostart.enable = true;
icons.enable = true;
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
wlr.enable = true;
};
};
}

View file

@ -1,8 +1,5 @@
{ pkgs, lib, ... }:
{
# for java development on vscode
programs.nix-ld.enable = true;
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
@ -23,7 +20,6 @@
obs-studio
gvfs
nil
bitwarden
];