summaryrefslogtreecommitdiff
path: root/home.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home.nix')
-rw-r--r--home.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/home.nix b/home.nix
new file mode 100644
index 0000000..c2fe013
--- /dev/null
+++ b/home.nix
@@ -0,0 +1,51 @@
+{ config, pkgs, libs, ... }:
+
+{
+ imports = [ ./firefox.nix ];
+
+ home.username = "ozpv";
+ home.homeDirectory = "/home/ozpv";
+ home.stateVersion = "23.11"; # Please read the comment before changing.
+
+ home.packages = with pkgs; [
+ neofetch
+ ];
+
+ home.sessionVariables = {
+ EDITOR = "vim";
+ };
+
+ programs.home-manager.enable = true;
+
+ programs.zsh = {
+ enable = true;
+ shellAliases = {
+ cp = "cp -v";
+ mv = "mv -v";
+ rm = "rm -v";
+ mkdir = "mkdir -v -p";
+ rmdir = "rmdir -v";
+ ls = "ls -hla --color=auto";
+ grep = "grep --color=auto";
+ vim-basic = "vim";
+ vim = "nvim";
+ };
+
+ plugins = [
+ {
+ name = "zsh-autosuggestions";
+ src = fetchGit {
+ url = "https://github.com/zsh-users/zsh-autosuggestions.git";
+ rev = "c3d4e576c9c86eac62884bd47c01f6faed043fc5";
+ };
+ }
+ {
+ name = "zsh-syntax-highlighting";
+ src = fetchGit {
+ url = "https://github.com/zsh-users/zsh-syntax-highlighting.git";
+ rev = "e0165eaa730dd0fa321a6a6de74f092fe87630b0";
+ };
+ }
+ ];
+ };
+}