Minor worf updates

This commit is contained in:
Felix Albrigtsen 2023-08-08 08:51:20 +02:00
parent 714907374e
commit 45b65458a4
4 changed files with 27 additions and 25 deletions

View File

@ -20,6 +20,7 @@
gnugrep
ripgrep
wget
sshfs
];
variables = {
@ -80,7 +81,7 @@
autohide = true;
autohide-delay = 0.0;
autohide-time-modifier = 1.0;
tilesize = 80;
tilesize = 45;
static-only = false;
showhidden = false;
show-recents = false;

View File

@ -12,13 +12,15 @@
home.packages = with pkgs; [
bottom
discord
cocoapods
exa
iterm2
ncdu
neofetch
nix-index
nodejs
slack
spotify
tldr
vscode
];
@ -29,6 +31,7 @@
pull.rebase = "true";
color.ui = "auto";
init.defaultBranch = "main";
lfs.enable = true;
user = {
name = "Felix Albrigtsen";

View File

@ -1,15 +1,5 @@
{ pkgs, lib, inputs, config, ...}:
let
# fromGitHub = rev: ref: repo: pkgs.vimUtils.buildVimPluginFrom2Nix {
# pname = "${lib.strings.sanitizeDerivationName repo}";
# version = ref;
# src = builtins.fetchGit {
# url = "https://github.com/${repo}.git";
# ref = ref;
# rev = rev;
# };
# };
in {
{
programs.neovim = {
enable = true;
defaultEditor = true;
@ -31,14 +21,21 @@ in {
copilot-vim
nvim-treesitter
coc-css
coc-json
coc-nvim
coc-pyright
coc-go
vim-nix
];
extraConfig = ''
let mapleader = ','
set number
set shiftwidth=2
set tabstop=2
set expandtab
" Integrate status with lightline
let g:lightline = {

View File

@ -1,9 +1,4 @@
{ pkgs
, lib
, inputs
, config
, ...
}: {
{ pkgs, lib, inputs, config, ... }: {
programs = {
zsh = {
enable = true;
@ -39,10 +34,16 @@
];
};
initExtra = ''
# Autocomplete ../
zstyle ':completion:*' special-dirs true
'';
shellAliases = {
l = "exa -l";
tree = "exa --tree --icons";
rebuild = "darwin-rebuild switch --flake /Users/felixalb/nix";
shell = "nix-shell --run zsh";
gst = "git status -sb";
gcm = "git commit -m";
gps = "git push";