phase 2: move home-manager/ → home/{profiles,progs,util,wallpaper}
This commit is contained in:
230
home/profiles/gui.nix
Normal file
230
home/profiles/gui.nix
Normal file
@@ -0,0 +1,230 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./no-gui.nix
|
||||
# ./progs/ghostty.nix
|
||||
./progs/alacritty.nix
|
||||
./progs/emacs.nix
|
||||
# ./progs/trezor.nix # - broken
|
||||
./progs/flatpak.nix
|
||||
./progs/zen
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate =
|
||||
pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"apple_cursor"
|
||||
"grayjay"
|
||||
];
|
||||
|
||||
home.packages =
|
||||
with pkgs;
|
||||
lib.concatLists [
|
||||
# libreoffice
|
||||
[
|
||||
libreoffice
|
||||
hunspell # spellcheck
|
||||
hunspellDicts.en_US # spellcheck dictionary
|
||||
]
|
||||
|
||||
# browsers
|
||||
[
|
||||
tor-browser
|
||||
grayjay
|
||||
]
|
||||
|
||||
# music library management
|
||||
[
|
||||
picard
|
||||
puddletag
|
||||
lrcget
|
||||
]
|
||||
|
||||
# image editing
|
||||
[
|
||||
darktable
|
||||
rawtherapee
|
||||
hugin
|
||||
|
||||
gimp3
|
||||
pinta
|
||||
]
|
||||
|
||||
[
|
||||
#calculator
|
||||
gnome-calculator
|
||||
|
||||
# audio editing
|
||||
audacity
|
||||
|
||||
#fonts
|
||||
noto-fonts
|
||||
noto-fonts-color-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
|
||||
|
||||
wireshark
|
||||
|
||||
nautilus
|
||||
nufraw-thumbnailer
|
||||
gdk-pixbuf
|
||||
|
||||
enblend-enfuse
|
||||
|
||||
# simple screen recording on wayland
|
||||
wl-screenrec
|
||||
|
||||
# wayland-compatible color picker
|
||||
hyprpicker
|
||||
|
||||
blender
|
||||
|
||||
ghidra-bin
|
||||
|
||||
# for mod organizer 2
|
||||
zenity
|
||||
p7zip
|
||||
|
||||
# password manager
|
||||
keepassxc
|
||||
|
||||
freecad-wayland
|
||||
|
||||
localsend
|
||||
|
||||
# openstreetmap
|
||||
josm
|
||||
|
||||
# in unstable ATM, gotta wait for it to hit stable
|
||||
# video-trimmer
|
||||
]
|
||||
# all the fonts
|
||||
(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 = {
|
||||
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";
|
||||
};
|
||||
# gtk4 apps use libadwaita natively, no theme package needed
|
||||
gtk4.theme = null;
|
||||
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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user