82 lines
2.1 KiB
Nix
82 lines
2.1 KiB
Nix
# SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
{
|
|
config,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
../foreign.nix
|
|
./base.nix
|
|
./discord.nix
|
|
];
|
|
flakeSettings.graphical = true;
|
|
nixGL = {
|
|
packages = import inputs.nixgl {
|
|
inherit pkgs;
|
|
enable32bits = false;
|
|
enableIntelX86Extensions = false;
|
|
};
|
|
defaultWrapper = "mesa";
|
|
installScripts = [ "mesa" ];
|
|
vulkan.enable = true;
|
|
};
|
|
systemd.user.sessionVariables = {
|
|
GSK_RENDERER = "ngl"; # `vulkan` renderer breaks GTK apps
|
|
};
|
|
home = {
|
|
shellAliases = {
|
|
college = "cd `~/Documents/2025 Fall/utd`";
|
|
};
|
|
packages = [
|
|
(config.lib.nixGL.wrap pkgs.spotube)
|
|
# pkgs.cacert - TODO: should be used on NixOS
|
|
(config.lib.nixGL.wrap pkgs.cheese)
|
|
# pkgs.cups - TODO: should be used on NixOS
|
|
(config.lib.nixGL.wrap pkgs.dino)
|
|
pkgs.gajim
|
|
pkgs.element-desktop # TODO: switch to programs.element-desktop
|
|
# pkgs.firefox
|
|
# pkgs.firefoxpwa - requires system access
|
|
# pkgs.high-tide - doesn't work
|
|
(config.lib.nixGL.wrap pkgs.kdePackages.audiotube)
|
|
pkgs.kdePackages.dolphin
|
|
pkgs.kdePackages.falkon
|
|
# pkgs.ladybird
|
|
pkgs.librewolf # TODO: switch to programs.librewolf
|
|
pkgs.logseq # TODO: switch to `joplin-desktop`
|
|
# pkgs.mupdf
|
|
# pkgs.simplex-chat-desktop - not available on aarch64
|
|
# pkgs.slacky - doesn't work, requires update
|
|
pkgs.telegram-desktop
|
|
# pkgs.tidal-hifi - aarch64 build broken
|
|
# pkgs.widevine-cdm - doesn't work
|
|
];
|
|
};
|
|
programs = {
|
|
niri.enable = true;
|
|
chromium.enable = true;
|
|
# wezterm = {
|
|
# enable = true;
|
|
# package = (config.lib.nixGL.wrap pkgs.wezterm);
|
|
# };
|
|
yt-dlp = {
|
|
enable = true;
|
|
};
|
|
# kitty = {
|
|
# enable = true;
|
|
# package = (config.lib.nixGL.wrap pkgs.kitty);
|
|
# enableGitIntegration = true;
|
|
# settings = {
|
|
# clipboard_control = "write-primary write-clipboard no-append";
|
|
# };
|
|
# };
|
|
};
|
|
# services = {
|
|
# hyprpolkitagent.enable = true;
|
|
# };
|
|
}
|