51 lines
No EOL
1.1 KiB
Nix
51 lines
No EOL
1.1 KiB
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
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
|
|
|
|
rust-analyzer-nightly
|
|
(fenix.complete.withComponents [
|
|
"cargo"
|
|
"clippy"
|
|
"rust-src"
|
|
"rustc"
|
|
"rustfmt"
|
|
])
|
|
|
|
zsh-powerlevel10k
|
|
nix-zsh-completions
|
|
|
|
];
|
|
|
|
programs.zsh = {
|
|
enableAutosuggestions = true;
|
|
enableCompletion = true;
|
|
enableSyntaxHighlighting = true;
|
|
enableVteIntegration = true;
|
|
autocd = true;
|
|
defaultKeymap = "viins";
|
|
dotDir = ".nix";
|
|
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";
|
|
};
|
|
};
|
|
|
|
|
|
home.stateVersion = "22.05";
|
|
|
|
programs.home-manager.enable = true;
|
|
} |