Skip to content

Commit

Permalink
feat(chtc): install plugdata & jamesdsp, remove jdk & easyeffects
Browse files Browse the repository at this point in the history
feat(chtc): move wget-hsts out of home directory

feat(graphics): add intel-vaapi-driver
  • Loading branch information
notchtc committed Jun 28, 2024
1 parent 7874c1a commit 23b69b7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
1 change: 0 additions & 1 deletion modules/home-manager/programs/mpv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{ config, ... }:
{
programs.mpv = {
enable = true;
Expand Down
6 changes: 4 additions & 2 deletions modules/nixos/hardware/graphics.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
enable = true;
enable32Bit = true;

extraPackages = lib.attrValues { inherit (pkgs) intel-media-driver libvdpau-va-gl; };
extraPackages = lib.attrValues {
inherit (pkgs) intel-media-driver intel-vaapi-driver libvdpau-va-gl;
};

extraPackages32 = lib.attrValues {
inherit (pkgs.pkgsi686Linux) intel-media-driver libvdpau-va-gl;
inherit (pkgs.pkgsi686Linux) intel-media-driver intel-vaapi-driver libvdpau-va-gl;
};
};
}
22 changes: 16 additions & 6 deletions users/chtc/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
home = {
packages = lib.attrValues {
inherit (pkgs)
easyeffects
gimp
jdk
jamesdsp
keepassxc
lutris
nicotine-plus
picard
plugdata
qbittorrent
strawberry-qt6
telegram-desktop
Expand All @@ -23,15 +23,16 @@
};

sessionVariables = {
NIXOS_OZONE_WL = "1";
VDPAU_DRIVER = "va_gl";
WINEPREFIX = "${config.xdg.dataHome}/wine";
_JAVA_OPTIONS = "-Djava.util.prefs.userRoot=${config.xdg.configHome}/java";
BROWSER = "firefox";
GNUPGHOME = "${config.programs.gpg.homedir}";
LESSHISTFILE = "-";
BROWSER = "firefox";
NIXOS_OZONE_WL = "1";
PAGER = "less";
TERMINAL = "foot";
VDPAU_DRIVER = "va_gl";
WGETRC = "${config.xdg.configHome}/wgetrc";
WINEPREFIX = "${config.xdg.dataHome}/wine";
};

username = "chtc";
Expand All @@ -40,6 +41,15 @@
};

xdg = {
configFile = {
"wgetrc" = {
enable = true;
text = ''
hsts-file \= ${config.xdg.cacheHome}/wget-hsts
'';
};
};

desktopEntries = {
vesktop = {
name = "Vesktop";
Expand Down

0 comments on commit 23b69b7

Please sign in to comment.