217 lines
3.7 KiB
Nix
217 lines
3.7 KiB
Nix
{
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
./no-gui.nix
|
|
./progs/alacritty.nix
|
|
./progs/gpt4all/gpt4all.nix
|
|
# ./progs/trezor.nix # - broken
|
|
];
|
|
|
|
nixpkgs.config.allowUnfreePredicate =
|
|
pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"apple_cursor"
|
|
];
|
|
|
|
home.packages =
|
|
with pkgs;
|
|
[
|
|
#calculator
|
|
gnome-calculator
|
|
|
|
#productivity stuff
|
|
libreoffice
|
|
hunspell # spellcheck
|
|
hunspellDicts.en_US # spellcheck dictionary
|
|
|
|
#video and audio downloading
|
|
parabolic
|
|
|
|
#soulseek client
|
|
nicotine-plus
|
|
|
|
#dark web browsing deep web browsing
|
|
tor-browser
|
|
|
|
#audio editing
|
|
audacity
|
|
|
|
#fonts
|
|
noto-fonts
|
|
noto-fonts-emoji
|
|
liberation_ttf
|
|
|
|
#for ebook reading
|
|
foliate
|
|
|
|
#audio mixer (pavucontrol but for pipewire)
|
|
pwvucontrol
|
|
|
|
#minecraft launcher
|
|
prismlauncher
|
|
|
|
mpv
|
|
mumble
|
|
system76-keyboard-configurator
|
|
|
|
#jellyfin
|
|
finamp # music player
|
|
delfin # jellyfin client
|
|
|
|
signal-desktop
|
|
|
|
#accounting
|
|
# gnucash
|
|
|
|
# image tools
|
|
inkscape
|
|
nomacs
|
|
|
|
# partitioning utilities
|
|
gparted
|
|
gnome-disk-utility
|
|
|
|
# small nicities
|
|
wl-clipboard # wl-copy & wl-paste
|
|
libnotify # notifications library
|
|
xdg-utils # xdg utils
|
|
|
|
# music tagging utility
|
|
picard
|
|
|
|
# music lyric fetcher
|
|
lrcget
|
|
|
|
inputs.zen-browser.packages."${system}".twilight
|
|
|
|
# freecad-wayland
|
|
puddletag
|
|
|
|
mcaselector
|
|
|
|
wireshark
|
|
|
|
darktable
|
|
rawtherapee
|
|
hugin
|
|
|
|
# nufraw
|
|
nufraw-thumbnailer
|
|
gdk-pixbuf
|
|
nautilus
|
|
|
|
enblend-enfuse
|
|
|
|
savvycan
|
|
|
|
# simple screen recording on wayland
|
|
wl-screenrec
|
|
|
|
gimp3
|
|
pinta
|
|
|
|
# wayland-compatible color picker
|
|
hyprpicker
|
|
|
|
blender
|
|
|
|
ghidra-bin
|
|
|
|
# for mod organizer 2
|
|
zenity
|
|
p7zip
|
|
]
|
|
++ (builtins.filter lib.isDerivation (builtins.attrValues nerd-fonts));
|
|
|
|
# programs.zed-editor = {
|
|
# enable = true;
|
|
# userSettings = {
|
|
# ui_font_size = 16;
|
|
# buffer_font_size = 16;
|
|
# theme = {
|
|
# mode = "system";
|
|
# light = "Gruvbox Dark Hard";
|
|
# dark = "One Dark";
|
|
# };
|
|
# };
|
|
# extensions = [
|
|
# "nix"
|
|
# "sql"
|
|
# "CSV"
|
|
# "assembly"
|
|
# ];
|
|
# };
|
|
|
|
# make chromium-based stuff use wayland
|
|
home.file.".config/chromium-flags.conf".text = "--ozone-platform-hint=auto";
|
|
|
|
# dark mode
|
|
dconf.settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
};
|
|
};
|
|
|
|
home.sessionVariables = {
|
|
TERMINAL = "alacritty";
|
|
BROWSER = "zen";
|
|
LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath [
|
|
pkgs.stdenv.cc.cc
|
|
]}";
|
|
};
|
|
|
|
# allow extra fonts to be detected by fontconfig
|
|
fonts.fontconfig.enable = true;
|
|
|
|
# gtk application theming
|
|
gtk = {
|
|
enable = true;
|
|
# make gtk3 applications look like libadwaita applications!
|
|
theme = {
|
|
package = pkgs.adw-gtk3;
|
|
name = "adw-gtk3-dark";
|
|
};
|
|
iconTheme = {
|
|
package = pkgs.adwaita-icon-theme;
|
|
name = "Adwaita";
|
|
};
|
|
};
|
|
|
|
# qt application theming - BROKEN and on fire
|
|
# qt = {
|
|
# enable = true;
|
|
# platformTheme = {
|
|
# name = "adwaita";
|
|
# package = [
|
|
# pkgs.adwaita-qt
|
|
# pkgs.adwaita-qt6
|
|
# ];
|
|
# };
|
|
|
|
# style = {
|
|
# name = "adwaita-dark";
|
|
# package = pkgs.adwaita-qt;
|
|
# };
|
|
# };
|
|
|
|
# macOS cursor!
|
|
home.pointerCursor = {
|
|
gtk.enable = true;
|
|
package = pkgs.apple-cursor;
|
|
name = "macOS";
|
|
size = 24;
|
|
};
|
|
|
|
dconf.settings = {
|
|
"org/virt-manager/virt-manager/connections" = {
|
|
autoconnect = [ "qemu:///system" ];
|
|
uris = [ "qemu:///system" ];
|
|
};
|
|
};
|
|
}
|