From b7c56b3f0a38a160776fc8acd9b674228622fa1c Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Mon, 12 Feb 2024 13:30:48 +0100 Subject: [PATCH] Update home.nix --- hosts/default/home.nix | 84 ++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 53 deletions(-) diff --git a/hosts/default/home.nix b/hosts/default/home.nix index e93f1d3..d2cd229 100644 --- a/hosts/default/home.nix +++ b/hosts/default/home.nix @@ -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"; };