-
-
Save johnhamelink/507d7b630699c790843ea5a50116aa46 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
users.users.john = { | |
isNormalUser = true; | |
extraGroups = ["wheel" "networkmanager" "audio"]; | |
uid = 1000; | |
shell = pkgs.zsh; | |
}; | |
imports = [ | |
./john/home.nix | |
./john/program.nix | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
{ | |
programs.zsh = { | |
syntaxHighlighting.enable = true; | |
ohMyZsh = { | |
enable = true; | |
plugins = [ | |
"asdf" # Auto completion for the ASDF version manager | |
"docker" # Docker autocompletion | |
"gitfast" # Better git <-> ZSH integration | |
"git-extras" # Support for git-extras completion | |
"sudo" # Press ESC-ESC to prepend sudo to the current command | |
"wd" # Warp Directory (https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/wd) | |
"mix-fast" # Faster mix autocompletion | |
"history-substring-search" # Search through history with the up and down keys | |
]; | |
theme = "bira"; | |
}; | |
shellAliases = { | |
e = "emacsclient -c $@ &"; | |
}; | |
}; | |
users.users.john = { | |
packages = with pkgs; | |
[ | |
## Xorg | |
xorg.xinit # Used to start bspwm | |
## Security | |
pinentry | |
gnupg | |
keepassx-community # Keepassxc (includes yubikey support) | |
## Editing | |
neovim | |
emacs | |
## Browsing | |
firefox | |
## Media | |
vlc | |
ncmpcpp | |
# Base GUI | |
rxvt_unicode # Nicer terminal | |
termite # Even nicer terminal! | |
polybar # Top bar with system stats + BSPWM integration | |
rofi # Minimalist command runner | |
xorg.xcursorthemes # Set a normal-looking cursor | |
feh # Set the wallpaper | |
xfce.thunar # Filesystem browser | |
sxiv # Minimalistic Image Browser | |
]; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment