Serenity/home/common/default.nix
2024-11-13 01:25:25 +10:00

173 lines
3.8 KiB
Nix

{ self, inputs, outputs, lib, config, pkgs, ... }:
{
imports = [
## Import desktop configs
../desktop/common/
## Import service configs
./systemd-services
## Import program configs
#./nixvim
./kitty.nix
./fish.nix
./git.nix
./btop.nix
];
home = {
packages = with pkgs; [
## Games
osu-lazer-bin # Rhythm is just a click away!
cockatrice # Magical the gathering but free
vassal # fossy board-game sim :3
## Chat & Web
#lagrange # Browser for the gemini protocol
vesktop # Modded discord wrapper
#fractal # GTK matrix client - need to fix gnome-keyring
#tor # The Onion Router
## Media
#lollypop # GTK music player
spotify # Corpo music streaming
#pragha # Music player
#tauon # Music player
transmission_4-gtk # Torrent client
nicotine-plus # P2P Media sharing
#jellyfin # Self-Hosted media streaming
#syncplay # Synchronise local playback with friends
vlc # Multimedia player
## Productivity
#thunderbird # Email client - commented out due to network issues trying to build it ?
obsidian # Note-taking
## Audio playback and production
#neural-amp-modeler-lv2 # Guitar amp emulator
bespokesynth # Modular synthesiser and sequencer
easyeffects # EQ and audio effects
metronome # A metronome
#vcv-rack # Analogue-Synth emulator
#cardinal # VCV Rack but open source and as a plugin
audacity # Audio editing
helvum # GTK patchbay
ardour # Digital Audio Workstation
## Image and Video playback and production
obs-studio # Screen sharing
#inkscape # Vector image editing
#shotcut # Video editing
#blender # 3D modelling
gimp # Digital image editing
];
stateVersion = "23.11";
};
programs = {
home-manager.enable = true; # Declarative dots
firefox.enable = true; # Browser of choice
neovim = { # Zoomer text editor
enable = true;
defaultEditor = true; # Default but keeping micro around
};
};
services = {
kdeconnect = { # Mobile <-> Desktop interaction
enable = true;
indicator = true;
};
gnome-keyring = { # GTK keyring for login/sudo/ssh/gpg prompts
enable = true;
#components = [ ];
};
};
home.pointerCursor = {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 12;
};
home.sessionVariables.GTK_THEME = "Adwaita-dark";
qt = {
enable = true;
platformTheme.name = "Adwaita-dark";
style = {
name = "Adwaita-dark";
package = pkgs.adwaita-qt;
};
};
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
font = {
name = config.theme.font;
size = 10;
};
iconTheme = {
package = pkgs.flat-remix-icon-theme;
name = "Flat-Remix-Grey-Darkest";
};
gtk3.extraConfig = {
settings = ''
gtk-application-prefer-dark-theme=1
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
'';
};
};
dconf = {
enable = true;
settings = {
"org/gnome/desktop/interface" = {
gtk-theme = "Adwaita-dark";
color-scheme = "prefer-dark";
};
};
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
xdg-desktop-portal-gnome
xdg-desktop-portal-hyprland
];
configPackages = with pkgs; [
xdg-desktop-portal-gtk
#xdg-desktop-portal-wlr
xdg-desktop-portal-gnome
xdg-desktop-portal-hyprland
];
};
systemd.user.startServices = "sd-switch";
}