nixos/config/home.nix
2024-09-05 17:16:22 +01:00

112 lines
2 KiB
Nix

{pkgs, ...}: let
username = "vylpes";
in {
imports = [
./packages
];
fonts.fontconfig.enable = true;
xdg = {
enable = true;
userDirs = {
enable = true;
createDirectories = true;
};
};
gtk.cursorTheme = pkgs.vimix-cursor-theme;
xsession = {
enable = true;
initExtra = ''
eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
export SSH_AUTH_SOCK
'';
};
services = {
gnome-keyring.enable = true;
};
home = {
username = "${username}";
homeDirectory = "/home/${username}";
stateVersion = "24.05";
file = {
"/home/${username}/.scripts/audio/get-sink-name.sh".source = ./home/scripts/audio/get-sink-name.sh;
"/home/${username}/.cache/scripts/get-sink-name.txt".source = ./home/cache/audio/get-sink-name.txt;
};
packages = with pkgs; [
alacritty
arandr
autorandr
csharp-ls
cups
curl
discord
dotnet-sdk_8
dotnetPackages.Nuget
dunst
easytag
firefox
flameshot
flatpak
font-awesome
gimp
git
gnome.gnome-keyring
grub2
hack-font
htop
hugo
i3
i3-swallow
i3lock-fancy
keepassxc
keepmenu
lightdm
lua
meslo-lgs-nf
mpv
neovim
networkmanager
nextcloud-client
nitrogen
nodejs
nodePackages.npm
obsidian
openssh
openssl
os-prober
pavucontrol
picom
plexamp
pm2
polybar
polybar-pulseaudio-control
pulseaudio
ranger
remmina
rofi
rofi-emoji
slack
steam
tldr
unzip
vim
vimPlugins.vim-plug
virtio-win
vscode
wget
xclip
yarn
yt-dlp
zip
zsh
zsh-powerlevel10k
];
};
}