nix-config/home/modules/common/default.nix

148 lines
2.3 KiB
Nix

{ inputs, outputs, lib, config, pkgs, ... }:
{
nixpkgs = {
overlays = [
outputs.overlays.modifications
];
config = {
allowUnfree = true;
allowUnfreePredicate = (_: true);
};
};
home = {
username = "rilla";
homeDirectory = "/home/rilla";
};
programs.home-manager.enable = true;
imports = [
# ./minidisc
../arduino
../browsers
../cheat
../dav
../drawterm
../fonts
../foot
../git
../gotify
../gpg
../idasen
../lf
../mail
../maker
../mpd
../msg
../music
../neovim
../pass
../rss
../snapcast
../sound
../ssh
../syncthing
../tmux
../vitetris
../wallets
../wine
../xdg
../zsh
];
home.sessionVariables = {
BROWSER = "${pkgs.firefox}/bin/firefox";
TERMINAL = "${pkgs.alacritty}/bin/alacritty";
};
home.packages = with pkgs; [
# calibre
R
acpi
android-tools
ansible
bind.dnsutils
# pyenv
docker-compose
file
gimp
gnumake
html-tidy
htop
inetutils # telnet
j2cli
john
jq
killall
kubectl
libnotify
libreoffice
lxqt.pcmanfm-qt
mosh
mpv
neofetch
pynitrokey
networkmanagerapplet
nextcloud-client
pandoc
podman-compose
pv
ripgrep
sassc
screen
shellcheck
signify
unzip
vagrant
virt-manager
virtiofsd
wget
];
# services.kdeconnect = {
# enable = true;
# indicator = true;
# };
programs.bat = {
enable = true;
config = { theme = "gruvbox-dark"; };
};
programs.fzf = {
enable = true;
enableZshIntegration = true;
# defaultOptions = [
# "--preview --preview 'bat --color=always --style=header,grid --line-range :300 {}'"
# ];
tmux.enableShellIntegration = true;
};
services.gnome-keyring = {
enable = true;
components = [ "secrets" ];
};
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
"autoconnect" = [ "qemu:///system" ];
"uris" = [ "qemu:///system" ];
};
};
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};
home.stateVersion = "22.11";
}