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 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'
|
||||||
|
|
||||||
|
|
2
env/nix/modules/de/sway.nix
vendored
2
env/nix/modules/de/sway.nix
vendored
|
@ -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;
|
||||||
|
|
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 = {
|
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;
|
||||||
}
|
}
|
||||||
|
|
60
env/nix/modules/users/daniel.nix
vendored
60
env/nix/modules/users/daniel.nix
vendored
|
@ -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?
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
4
env/nix/profiles/base.nix
vendored
4
env/nix/profiles/base.nix
vendored
|
@ -23,10 +23,6 @@
|
||||||
unzip
|
unzip
|
||||||
killall
|
killall
|
||||||
];
|
];
|
||||||
variables = {
|
|
||||||
PAGER = "less";
|
|
||||||
VISUAL = "less";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
Reference in a new issue