nixos-config/user/home.nix
2023-06-02 11:14:54 -03:00

199 lines
3.6 KiB
Nix

{ config, pkgs, lib, inputs, ... }: {
imports = [
./controller.nix
./waybar
./helix.nix
./kakoune
./fish
./firefox.nix
./hyprland.nix
./alacritty.nix
./git.nix
./qutebrowser
./gpg.nix
./rofi.nix
./mpv.nix
./mangohud.nix
./rnnoise.nix
./rtp-sink.nix
./mimeapps.nix
./chat.nix
./email.nix
./syncthing.nix
./vdir.nix
./bmenu.nix
./fzf.nix
./ranger
./lf
./pass.nix
./pqiv.nix
./zathura.nix
./man.nix
./mpd.nix
./sway
./gnome.nix
./thunar.nix
inputs.hyprland.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "lelgenio";
home.homeDirectory = "/home/lelgenio";
# Let Home Manager install and manage itself.
# programs.home-manager.enable = true;
home.packages = with pkgs; [
# home-manager
terminal # see flake.nix
pulse_sink
pulseaudio
## CLI
btop
exa
fd
bc
file
jq
du-dust
p7zip
tealdeer
micro
_diffr
br # bulk rename
comma
## text manipulation
sd
ripgrep
translate-shell
lipsum
mate.engrampa
# gnome.nautilus
## games
# lutris-unwrapped
# steam # It's enabled in the system config
tlauncher
gamescope
unstable.amdgpu_top
glxinfo
vulkan-tools
## chat
thunderbird
## Theming
orchis_theme_compact
papirus_red
libsForQt5.qtstyleplugins
qt5.qtsvg
## Network
speedtest-cli
nmap
httpie
miniupnpc
deluge
## Nix secrets management
inputs.agenix.packages.x86_64-linux.default
## Programming
vscode
# rustup
docker-compose
gnumake
mariadb
# php74
nodePackages.intelephense
nodePackages.typescript-language-server
nodejs
nodePackages.yarn
nodePackages.less
nodePackages.sass
nodePackages.less-plugin-clean-css
nodePackages.uglify-js
meson
ninja
flow # js lsp server
nil # nix lsp server
clang-tools # c/c++ lsp server
# cargo
cargo-edit
cargo-feature
cargo-watch
cargo-expand
cargo-sweep
cargo-checkmate
cargo-audit
rust-analyzer
gcc
rnix-lsp
nixpkgs-fmt
trunk
wasm-bindgen-cli
sea-orm-cli
sqlx-cli
];
fonts.fontconfig.enable = true;
home.file = { ".local/share/backgrounds".source = ./backgrounds; };
home.sessionVariables = {
VOLUME_CHANGE_SOUND =
"${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/audio-volume-change.oga";
};
programs.bash = { enable = true; };
services.nextcloud-client = {
enable = true;
startInBackground = true;
};
xdg.userDirs =
let
HOME = config.home.homeDirectory;
in
{
enable = true;
createDirectories = true;
desktop = "${HOME}/Área de trabalho";
documents = "${HOME}/Documentos";
download = "${HOME}/Downloads";
music = "${HOME}/Música";
pictures = "${HOME}/Imagens";
publicShare = "${HOME}/Público";
templates = "${HOME}/Modelos";
videos = "${HOME}/Vídeos";
};
services.kdeconnect = {
enable = true;
indicator = true;
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.05";
}