Move some things around and work on adding some stuff
This commit is contained in:
parent
9f56558507
commit
44f819a1db
|
@ -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'
|
||||
|
||||
|
|
2
env/nix/modules/de/sway.nix
vendored
2
env/nix/modules/de/sway.nix
vendored
|
@ -3,7 +3,7 @@
|
|||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
in {
|
||||
imports = [ ./base.nix ];
|
||||
imports = [ ./graphics.nix ];
|
||||
programs = {
|
||||
sway = {
|
||||
enable = true;
|
||||
|
|
18
env/nix/modules/neovim.nix
vendored
18
env/nix/modules/neovim.nix
vendored
|
@ -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;
|
||||
}
|
||||
|
|
60
env/nix/modules/users/daniel.nix
vendored
60
env/nix/modules/users/daniel.nix
vendored
|
@ -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?
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
4
env/nix/profiles/base.nix
vendored
4
env/nix/profiles/base.nix
vendored
|
@ -23,10 +23,6 @@
|
|||
unzip
|
||||
killall
|
||||
];
|
||||
variables = {
|
||||
PAGER = "less";
|
||||
VISUAL = "less";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
Reference in a new issue