From d557d41d314a4e84e11b455236a83edfbb412dee Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 1 Apr 2023 23:14:58 +0530 Subject: [PATCH] update home.nix --- home.nix | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index 0cdaa2d..3176328 100644 --- a/home.nix +++ b/home.nix @@ -15,6 +15,9 @@ # release notes. home.stateVersion = "22.11"; # Please read the comment before changing. + # Allow non-free packages + nixpkgs.config.allowUnfree = true; + # The home.packages option allows you to install Nix packages into your # environment. home.packages = [ @@ -34,9 +37,29 @@ # (pkgs.writeShellScriptBin "my-hello" '' # echo "Hello, ${config.home.username}!" # '') - pkgs.xsel + pkgs.xsel pkgs.wget pkgs.neofetch pkgs.htop pkgs.oh-my-zsh + pkgs.git pkgs.chromium pkgs.kitty ]; + programs.bash = { + enable = true; + bashrcExtra = '' + . ~/bashrc + '' + }; + + programs.zsh = { + enable = true; + enableCompletion = true; + enableAutosuggestions = true; + enableSyntaxHighlighting = true; + oh-my-zsh = { + enable = true; + theme = "ys"; + plugins = ["git" "colored-man-pages" "extract" "sudo"]; + }; + }; + # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'. home.file = {