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, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
# manage.
# Basic user info
home.username = "crony";
home.homeDirectory = "/home/crony";
# 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 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.
# DO NOT CHANGE
home.stateVersion = "23.11";
# Imports
imports =
[
inputs.nixvim.homeManagerModules.nixvim
];
# The home.packages option allows you to install Nix packages into your
# environment.
# My packages
home.packages = [
pkgs.librewolf
pkgs.thunderbird
pkgs.qutebrowser
pkgs.discord
pkgs.neofetch
pkgs.keepassxc
pkgs.buku
pkgs.bukubrow
pkgs.tmux
pkgs.rclone
pkgs.age
pkgs.alacritty
pkgs.nitch
pkgs.ripgrep
pkgs.libarchive
pkgs.nsxiv
pkgs.imagemagick
pkgs.ffmpeg
pkgs.glow
pkgs.piper
pkgs.krita
pkgs.tutanota-desktop
pkgs.delfin
pkgs.nurl
(pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; })
pkgs.librewolf # Nice privacy browser
pkgs.thunderbird # Nice mail client
pkgs.qutebrowser # Nice browser in general
pkgs.discord # Fuck the fact I have to use it
pkgs.keepassxc # Best password manager
pkgs.buku # Nice bookmark manager
pkgs.bukubrow # Nice bookmark manager browser support
pkgs.tmux # Tiling in the terminal
pkgs.rclone # Best sync client in the world
pkgs.age # Simple file encryption
pkgs.alacritty # Best terminal
pkgs.nitch # Simple system info
pkgs.libarchive # bsdtar
pkgs.imagemagick # image tools
pkgs.ffmpeg # video manupilation
pkgs.glow # markdown viewer
pkgs.piper # ratbagd mice config gui
pkgs.krita # best drawing program
pkgs.tutanota-desktop # fjdlkfjldjflkd
pkgs.delfin # jellyfin client
pkgs.nurl # nix tool
pkgs.ripgrep # Neovim telescope dependency
(pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; }) # Best font
# My custom dmenu build
(pkgs.dmenu.overrideAttrs (oldAttrs: rec {
@ -79,20 +70,7 @@
# '';
};
# Home Manager can also manage your environment variables through
# '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
#
# Environmental variables I can't live without
home.sessionVariables = {
EDITOR = "nvim";
BROWSER = "qutebrowser";
@ -147,7 +125,7 @@
enable = true;
package = pkgs.nnn.override ({ withNerdIcons = true; });
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.src = (pkgs.fetchFromGitHub { owner = "jarun"; repo = "nnn"; rev = "v4.9"; sha256 = "sha256-g19uI36HyzTF2YUQKFP4DE2ZBsArGryVHhX79Y0XzhU=";}) + "/plugins";
};