Add zsh config
This commit is contained in:
parent
7bbb0f74de
commit
122bbc2236
4 changed files with 35 additions and 10 deletions
|
@ -59,10 +59,13 @@
|
|||
|
||||
security.rtkit.enable = true;
|
||||
|
||||
programs.firefox = {
|
||||
programs = {
|
||||
firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts.packages = [ pkgs.browserpass ];
|
||||
};
|
||||
zsh = { enable = true; };
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
users.users.functionalhacker = {
|
||||
description = "Marko";
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,11 +1,33 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
programs = {
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
|
||||
zsh = {
|
||||
enable = true;
|
||||
zplug = {
|
||||
enable = true;
|
||||
plugins = [
|
||||
{ name = "mafredri/zsh-async"; }
|
||||
{
|
||||
name = "sindresorhus/pure";
|
||||
tags = [ "use:pure.zsh" "as:theme" ];
|
||||
}
|
||||
{ name = "Aloxaf/fzf-tab"; }
|
||||
{ name = "zsh-users/zsh-history-substring-search"; }
|
||||
{ name = "wfxr/forgit"; }
|
||||
{ name = "zsh-users/zsh-completions"; }
|
||||
{ name = "zdharma-continuum/fast-syntax-highlighting"; }
|
||||
{ name = "RobSis/zsh-completion-generator"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
username = "functionalhacker";
|
||||
homeDirectory = "/home/functionalhacker";
|
||||
|
@ -23,9 +45,9 @@
|
|||
nerdfonts
|
||||
nodejs
|
||||
pass
|
||||
ripgrep
|
||||
tree-sitter
|
||||
yarn
|
||||
zsh
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue