add nixgl

This commit is contained in:
Steam Deck User
2025-02-23 16:22:20 +00:00
parent b1199a7eda
commit 3bda156ab4
10 changed files with 95 additions and 21 deletions

View File

@@ -1,23 +1,23 @@
{ pkgs, lib, ... }:
{ pkgs, lib, config, ... }:
{
imports = [
./fonts.nix
./terminal.nix
./base/fonts.nix
./base/terminal.nix
./firefox/firefox.nix
];
home.packages = with pkgs;[
# general
thunderbird
keepassxc
qbittorrent
libreoffice-qt
joplin-desktop
(config.lib.nixGL.wrap thunderbird)
(config.lib.nixGL.wrap keepassxc)
(config.lib.nixGL.wrap qbittorrent)
(config.lib.nixGL.wrap libreoffice-qt)
(config.lib.nixGL.wrap joplin-desktop)
# comms
teamspeak_client
vesktop
(config.lib.nixGL.wrap teamspeak_client)
(config.lib.nixGL.wrap vesktop)
];
home.sessionVariables = {
@@ -26,6 +26,7 @@
services.nextcloud-client = {
enable = true;
package = config.lib.nixGL.wrap pkgs.nextcloud-client;
startInBackground = true;
};
@@ -34,7 +35,7 @@
chromium = {
enable = true;
package = pkgs.brave;
package = config.lib.nixGL.wrap pkgs.brave;
};
mpv = lib.mkDefault {

View File

@@ -3,7 +3,7 @@
with lib;
{
imports = [
./development/helix.nix
../development/helix.nix
];
options.terminal = {
@@ -170,6 +170,7 @@ with lib;
alacritty = {
enable = true;
package = config.lib.nixGL.wrap pkgs.alacritty;
settings = {
font = {
normal = {

View File

@@ -1,9 +1,10 @@
{ ... }:
{ pkgs, config, ... }:
{
programs = {
firefox = {
enable = true;
package = config.lib.nixGL.wrap pkgs.firefox;
languagePacks = [
"en-GB"
];
@@ -22,7 +23,6 @@
listToAttrs [
# Security / Privacy
(extension "ublock-origin" "uBlock0@raymondhill.net")
(extension "clearurls" "{74145f27-f039-47ce-a470-a662b129930a}")
(extension "canvasblocker" "CanvasBlocker@kkapsner.de")
(extension "cookie-autodelete" "CookieAutoDelete@kennydo.com")
(extension "happy-bonobo-disable-webrtc" "jid1-5Fs7iTLscUaZBgwr@jetpack")

View File

@@ -1,9 +1,9 @@
{ inputs, pkgs, ... }:
{ inputs, pkgs, config, ... }:
{
home.packages = with pkgs;[
steamguard-cli
bottles
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryujinx-greemdev
(config.lib.nixGL.wrap bottles)
(config.lib.nixGL.wrap inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryujinx-greemdev)
];
}