Files
dotfiles-nix/home.nix
2026-01-07 20:35:43 +03:00

210 lines
3.6 KiB
Nix

{ config, lib, pkgs, ... }:
{
home.username = "pablusha";
home.homeDirectory = "/home/pablusha";
home.stateVersion = "25.11";
programs.home-manager.enable = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"ventoy-1.1.07"
];
imports = [
./syncthing.nix
];
home.packages = with pkgs; [
# Messaging
telegram-desktop
thunderbird
# Fonts
nerd-fonts.monaspace
terminus_font_ttf
# Desktop utilities
xdg-user-dirs
gnome-themes-extra
libsForQt5.qt5ct
gtk3
conky
# File management
xfce.thunar
xfce.tumbler
gthumb
xarchiver
glib
file
unrar
# Games
prismlauncher
osu-lazer-bin
wine
steam
# XFCE plugins
xfce.xfce4-whiskermenu-plugin
xfce.xfce4-docklike-plugin
xfce.xfce4-cpugraph-plugin
xfce.xfce4-netload-plugin
# Development
gcc
(python3.withPackages (ps: with ps; [
pip
aiofiles
aiohttp
]))
(texlive.combine {
inherit (texlive)
scheme-medium
latexmk
collection-langcyrillic
cm-super
enumitem
listings
pgfplots
xcolor;
})
orca-slicer
# Virtualization & emulation
qemu
OVMF
scrcpy
android-tools
tigervnc
virt-manager
libvirt
dnsmasq
# System tools
ncdu
nftables
nmap
ventoy
ffmpeg
playerctl
nethogs
iftop
openjdk8
qbittorrent
gparted
usbutils
# Multimedia
(pkgs.blender.override { cudaSupport = true; })
audacious
vlc
cava
krita
# Office
libreoffice-qt
obsidian
remmina
mate.atril
# camera
gphoto2
v4l-utils
# OBS plugins
obs-studio-plugins.obs-pipewire-audio-capture
obs-studio-plugins.wlrobs
obs-studio-plugins.obs-backgroundremoval
obs-studio-plugins.obs-gstreamer
obs-studio-plugins.obs-pipewire-audio-capture
noto-fonts-color-emoji
];
fonts.fontconfig = {
defaultFonts = {
emoji = [ "Noto Color Emoji" ];
};
};
qt = {
enable = true;
platformTheme.name = "gtk";
style.name = "gtk2";
};
# Firefox
programs.firefox = {
enable = true;
languagePacks = [ "en-US" "ru-RU" ];
policies = {
AppAutoUpdate = false;
BackgroundAppUpdate = false;
DisableFirefoxAccounts = true;
DisableSetDesktopBackground = true;
DisablePocket = true;
DisableTelemetry = true;
DisableFormHistory = true;
};
};
# OBS Studio
programs.obs-studio = {
enable = true;
package = pkgs.obs-studio.override {
cudaSupport = true;
};
plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture
wlrobs
obs-backgroundremoval
obs-gstreamer
];
};
# Vim
programs.vim = {
enable = true;
extraConfig = ''
set background=dark
set number
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab
set nowrap
set rnu
set hidden
set nobackup
set nowritebackup
set cmdheight=2
'';
};
# Bash
programs.bash = {
enable = true;
shellAliases = {
ll = "ls -la";
update = "sudo nixos-rebuild switch && home-manager switch";
};
initExtra = ''
export PS1="[\\u@\\h:\\w]\\$ "
'';
};
# Fastfetch
programs.fastfetch.enable = true;
xdg.configFile = {
"fastfetch/config.jsonc".source = ./fastfetch.jsonc;
"fastfetch/art.jpg".source = ./art.jpg;
};
# VSCode
programs.vscode.enable = true;
}