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 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
set -Ux LS_COLORS 'ow=01;36;40'

View file

@ -3,7 +3,7 @@
let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in {
imports = [ ./base.nix ];
imports = [ ./graphics.nix ];
programs = {
sway = {
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 = {
systemPackages = [ pkgs.neovim ];
systemPackages = [ unstable.neovim ];
variables = {
EDITOR = "nvim";
PAGER = "nvim";
VISUAL = "nvim";
MANPAGER = "nvim +Man!";
MANWIDTH = "80";
};
shellAliases = {
vim = "nvim";
vi = "nvim";
};
shellAliases = aliases;
};
programs.bash.shellAliases = aliases;
programs.fish.shellAliases = aliases;
}

View file

@ -5,37 +5,43 @@
shell = pkgs.fish;
home = "/home/daniel/.home";
packages = with pkgs; [
fortune
steam
pulsemixer
file
appimage-run
kitty
fzf
fortune
dmenu
ranger
pass
brightnessctl
vulkan-tools # TODO: vulkan?
fortune # fun sayings
steam # games
pulsemixer # audio
file # identify file types
kitty # terminal emulator
fzf # fuzzy finder
dmenu # TODO: currently only using this for dmenu_path in `bin/launch`
ranger # tui for file management
pass # the standard unix password manager
vulkan-tools # vkcube for making sure vulkan still works
rustup
clang
pavucontrol
pamixer
strongswan
pavucontrol # gui pulseaudio manager
pamixer # tui pulseaudio manager
strongswan # work vpn
gnumake
elixir
postgresql
htop
google-cloud-sdk
unzip
automake
autoconf
ncurses
weechat
python39Full
jq
xfce.thunar xfce.thunar-archive-plugin xfce.thunar-volman
postgresql # database
htop # almost as good as bottom (btm)
google-cloud-sdk # gcloud
kubectl # kubernetes cli
awscli # aws cli
unzip # needed by a handful of other utilities
autoconf automake # autotools
weechat # irc
python39Full # python 3.9
jq # awk for json
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
killall
];
variables = {
PAGER = "less";
VISUAL = "less";
};
};
programs = {