Update home.nix

This commit is contained in:
CronyAkatsuki 2024-02-12 13:30:48 +01:00
parent 115df5a8ef
commit b7c56b3f0a

View File

@ -1,54 +1,45 @@
{ config, pkgs, inputs, ... }: { config, pkgs, inputs, ... }:
{ {
# Home Manager needs a bit of information about you and the paths it should # Basic user info
# manage.
home.username = "crony"; home.username = "crony";
home.homeDirectory = "/home/crony"; home.homeDirectory = "/home/crony";
# This value determines the Home Manager release that your configuration is # DO NOT CHANGE
# compatible with. This helps avoid breakage when a new Home Manager release home.stateVersion = "23.11";
# introduces backwards incompatible changes.
# # Imports
# You should not change this value, even if you update Home Manager. If you do
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
imports = imports =
[ [
inputs.nixvim.homeManagerModules.nixvim inputs.nixvim.homeManagerModules.nixvim
]; ];
# The home.packages option allows you to install Nix packages into your # My packages
# environment.
home.packages = [ home.packages = [
pkgs.librewolf pkgs.librewolf # Nice privacy browser
pkgs.thunderbird pkgs.thunderbird # Nice mail client
pkgs.qutebrowser pkgs.qutebrowser # Nice browser in general
pkgs.discord pkgs.discord # Fuck the fact I have to use it
pkgs.neofetch pkgs.keepassxc # Best password manager
pkgs.keepassxc pkgs.buku # Nice bookmark manager
pkgs.buku pkgs.bukubrow # Nice bookmark manager browser support
pkgs.bukubrow pkgs.tmux # Tiling in the terminal
pkgs.tmux pkgs.rclone # Best sync client in the world
pkgs.rclone pkgs.age # Simple file encryption
pkgs.age pkgs.alacritty # Best terminal
pkgs.alacritty pkgs.nitch # Simple system info
pkgs.nitch pkgs.libarchive # bsdtar
pkgs.ripgrep pkgs.imagemagick # image tools
pkgs.libarchive pkgs.ffmpeg # video manupilation
pkgs.nsxiv pkgs.glow # markdown viewer
pkgs.imagemagick pkgs.piper # ratbagd mice config gui
pkgs.ffmpeg pkgs.krita # best drawing program
pkgs.glow pkgs.tutanota-desktop # fjdlkfjldjflkd
pkgs.piper pkgs.delfin # jellyfin client
pkgs.krita pkgs.nurl # nix tool
pkgs.tutanota-desktop pkgs.ripgrep # Neovim telescope dependency
pkgs.delfin (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
pkgs.nurl
(pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; })
# My custom dmenu build # My custom dmenu build
(pkgs.dmenu.overrideAttrs (oldAttrs: rec { (pkgs.dmenu.overrideAttrs (oldAttrs: rec {
@ -79,20 +70,7 @@
# ''; # '';
}; };
# Home Manager can also manage your environment variables through # Environmental variables I can't live without
# 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at
# either
#
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
# or
#
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
#
# or
#
# /etc/profiles/per-user/crony/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = { home.sessionVariables = {
EDITOR = "nvim"; EDITOR = "nvim";
BROWSER = "qutebrowser"; BROWSER = "qutebrowser";
@ -147,7 +125,7 @@
enable = true; enable = true;
package = pkgs.nnn.override ({ withNerdIcons = true; }); package = pkgs.nnn.override ({ withNerdIcons = true; });
bookmarks = { d = "~/Documents"; D = "~/Downloads"; p = "~/Pictures"; v = "~/Videos";}; bookmarks = { d = "~/Documents"; D = "~/Downloads"; p = "~/Pictures"; v = "~/Videos";};
extraPackages = with pkgs; [ pmount ffmpegthumbnailer mediainfo ueberzugpp poppler_utils gnome-epub-thumbnailer ]; extraPackages = with pkgs; [ pmount ffmpegthumbnailer mediainfo ueberzugpp poppler_utils gnome-epub-thumbnailer nsxiv ];
plugins.mappings = { u = "nmount"; c = "chksum"; r = "gitroot"; v = "imgview"; m = "mtpmount"; d = "xdgdefault"; x = "togglex"; p = "preview-tui"; }; plugins.mappings = { u = "nmount"; c = "chksum"; r = "gitroot"; v = "imgview"; m = "mtpmount"; d = "xdgdefault"; x = "togglex"; p = "preview-tui"; };
plugins.src = (pkgs.fetchFromGitHub { owner = "jarun"; repo = "nnn"; rev = "v4.9"; sha256 = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";}) + "/plugins"; plugins.src = (pkgs.fetchFromGitHub { owner = "jarun"; repo = "nnn"; rev = "v4.9"; sha256 = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";}) + "/plugins";
}; };