Move some things around and work on adding some stuff

This commit is contained in:
Daniel Flanagan 2020-10-26 17:38:07 -05:00
parent 9f56558507
commit 44f819a1db
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
19 changed files with 46 additions and 47 deletions

View file

@ -18,15 +18,6 @@ set -Ux BROWSER firefox-developer-edition
set -Ux ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000" # iex history set -Ux ERL_AFLAGS "-kernel shell_history enabled -kernel shell_history_file_bytes 1024000" # iex history
set -Ux LESS "-r" set -Ux LESS "-r"
# set our EDITOR to neovim if we've got it
set -Ux EDITOR vim
if has_command nvim
set -Ux EDITOR nvim
end
alias ovim 'command vim' # always have an alias to normal vim just in case
alias vim $EDITOR
alias vi $EDITOR
# more sane ls colors # more sane ls colors
set -Ux LS_COLORS 'ow=01;36;40' set -Ux LS_COLORS 'ow=01;36;40'

View file

@ -3,7 +3,7 @@
let let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; }; unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in { in {
imports = [ ./base.nix ]; imports = [ ./graphics.nix ];
programs = { programs = {
sway = { sway = {
enable = true; enable = true;

View file

@ -1,14 +1,20 @@
{ config, pkgs, ... }: { { config, pkgs, ... }:
let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
aliases = { vim = "nvim"; vi = "nvim"; };
in
{
environment = { environment = {
systemPackages = [ pkgs.neovim ]; systemPackages = [ unstable.neovim ];
variables = { variables = {
EDITOR = "nvim"; EDITOR = "nvim";
PAGER = "nvim";
VISUAL = "nvim";
MANPAGER = "nvim +Man!"; MANPAGER = "nvim +Man!";
MANWIDTH = "80"; MANWIDTH = "80";
}; };
shellAliases = { shellAliases = aliases;
vim = "nvim";
vi = "nvim";
};
}; };
programs.bash.shellAliases = aliases;
programs.fish.shellAliases = aliases;
} }

View file

@ -5,37 +5,43 @@
shell = pkgs.fish; shell = pkgs.fish;
home = "/home/daniel/.home"; home = "/home/daniel/.home";
packages = with pkgs; [ packages = with pkgs; [
fortune fortune # fun sayings
steam steam # games
pulsemixer pulsemixer # audio
file file # identify file types
appimage-run kitty # terminal emulator
kitty fzf # fuzzy finder
fzf dmenu # TODO: currently only using this for dmenu_path in `bin/launch`
fortune ranger # tui for file management
dmenu pass # the standard unix password manager
ranger vulkan-tools # vkcube for making sure vulkan still works
pass
brightnessctl
vulkan-tools # TODO: vulkan?
rustup rustup
clang clang
pavucontrol pavucontrol # gui pulseaudio manager
pamixer pamixer # tui pulseaudio manager
strongswan strongswan # work vpn
gnumake gnumake
elixir elixir
postgresql postgresql # database
htop htop # almost as good as bottom (btm)
google-cloud-sdk google-cloud-sdk # gcloud
unzip kubectl # kubernetes cli
automake awscli # aws cli
autoconf unzip # needed by a handful of other utilities
ncurses autoconf automake # autotools
weechat weechat # irc
python39Full python39Full # python 3.9
jq jq # awk for json
xfce.thunar xfce.thunar-archive-plugin xfce.thunar-volman xfce.thunar xfce.thunar-archive-plugin xfce.thunar-volman # gui file manager
# TODO: move this one to just laptop?
brightnessctl # laptop screen brightness
# nix utils
nox # package querying and installation?
# yay is to pacman, nox is to nix-env
niv # dependency pinning?
lorri # project envrc - like asdf-vm?
]; ];
}; };
} }

View file

@ -23,10 +23,6 @@
unzip unzip
killall killall
]; ];
variables = {
PAGER = "less";
VISUAL = "less";
};
}; };
programs = { programs = {