{ config, pkgs, ... }: { nixpkgs.config.allowUnfree = true; nixpkgs.overlays = [ (import "${fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz"}/overlay.nix") ]; home.username = "fossil"; home.homeDirectory = "/home/fossil"; home.packages = with pkgs; [ kitty firefox thunderbird cmus zellij btop steam rust-analyzer-nightly (fenix.complete.withComponents [ "cargo" "clippy" "rust-src" "rustc" "rustfmt" ]) zoxide meslo-lgs-nf ]; programs.kitty = { enable = true; font = { name = "Meslo LGS NF"; size = 11; }; }; programs.git = { enable = true; userName = "atagen"; userEmail = "atagen@boss.co"; }; programs.zsh = { enable = true; enableAutosuggestions = true; enableCompletion = true; enableSyntaxHighlighting = true; enableVteIntegration = true; autocd = true; defaultKeymap = "viins"; initExtra = "\n[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh\n"; plugins = [ { name = "powerlevel10k"; src = pkgs.zsh-powerlevel10k; file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; } { name = "zsh-vi-mode"; src = pkgs.zsh-vi-mode; file = "share/zsh-vi-mode/zsh-vi-mode.zsh"; } { name = "zsh-completions"; src = pkgs.zsh-completions; file = "share/zsh-completions/zsh-completions.zsh"; } { name = "zsh-autopair"; src = pkgs.zsh-autopair; file = "share/zsh-autopair/zsh-autopair.zsh"; } { name = "zsh-autocomplete"; src = pkgs.zsh-autocomplete; file = "share/zsh-autocomplete/zsh-autocomplete.zsh"; } { name = "zsh-fast-syntax-highlighting"; src = pkgs.zsh-fast-syntax-highlighting; file = "share/zsh-fast-syntax-highlighting/zsh-fast-syntax-highlighting.zsh"; } { name = "zsh-history-search-multi-word"; src = pkgs.zsh-history-search-multi-word; file = "share/zsh-history-search-multi-word/zsh-history-search-multi-word.zsh"; } { name = "zsh-nix-shell"; src = pkgs.zsh-nix-shell; file = "share/zsh-nix-shell/zsh-nix-shell.zsh"; } { name = "nix-zsh-completions"; src = pkgs.nix-zsh-completions; file = "share/nix-zsh-completions/nix-zsh-completions.zsh"; } ]; # oh-my-zsh = { # enable = true; # plugins = [ "git" "sudo" "zoxide" "powerlevel10k" "zsh-nix-shell" "zsh-history-search-multi-word" "zsh-vi-mode" "zsh-completions" "zsh-autopair" "zsh-autocomplete" "zsh-fast-syntax-highlighting" ]; # theme = "powerlevel10k/powerlevel10k"; # }; }; programs.helix.enable = true; programs.helix.settings = { theme = "bogster"; }; home.stateVersion = "22.05"; programs.home-manager.enable = true; }