Compare commits

..

No commits in common. "a0f14a888ee83599a5d37618ba07565fcf5a79b9" and "337a41901fccf4591c5315525a74e6e52d33589c" have entirely different histories.

4 changed files with 31 additions and 66 deletions

View File

@ -174,7 +174,34 @@
mbsync = { mbsync = {
enable = true; enable = true;
}; };
neovim = (import ./neovim.nix) pkgs; neovim = {
enable = true;
extraConfig = ''
set tabstop=4
set softtabstop=4 " enables backspacing, etc
set shiftwidth=4
set expandtab
set tw=80
set bs=2 " allow backspacing over everything in insert mode
set ai " always set autoindenting on
set number relativenumber
set colorcolumn=100
'';
plugins = with pkgs.vimPlugins; [
#context-vim
#ctrlp
#fzf
#gundo
python-mode
#telescope-nvim
#telescope-fzf-native-nvim
#nvim-treesitter
vim-nix
];
vimAlias = true;
};
notmuch = { notmuch = {
enable = true; enable = true;
}; };
@ -251,16 +278,6 @@
}; };
services = { services = {
betterlockscreen = {
enable = true;
arguments = [
"--fx ''" # don't apply effects
];
};
dunst = {
enable = true;
};
flameshot.enable = true;
mbsync = { mbsync = {
enable = true; enable = true;
verbose = true; verbose = true;
@ -281,19 +298,8 @@
syncthing = { syncthing = {
enable = false; enable = false;
# cause the tray command to wait for the service and tray manager to start # cause the tray command to wait for the service and tray manager to start
extraOptions = [ "--wait" ]; #extraOptions = [ "--wait" ];
tray.enable = true; tray.enable = false;
};
trayer = {
enable = true;
settings = {
align = "right";
edge = "top";
tint = "black";
transparent = true; # only way i could get color to work
widthtype = "percent";
width = "10";
};
}; };
unclutter = { unclutter = {
enable = true; enable = true;

View File

@ -1,34 +0,0 @@
pkgs: {
enable = true;
extraConfig = ''
set tabstop=4
set softtabstop=4 " enables backspacing, etc
set shiftwidth=4
set expandtab
set tw=80
set bs=2 " allow backspacing over everything in insert mode
set ai " always set autoindenting on
set number relativenumber
set colorcolumn=100
let g:pymode_options_max_line_length=95
let mapleader = ','
map <leader>n :lnext<CR>
map <leader>p :lprev<CR>
'';
plugins = with pkgs.vimPlugins; [
#context-vim
#ctrlp
#fzf
#gundo
python-mode
#telescope-nvim
#telescope-fzf-native-nvim
#nvim-treesitter
vim-nix
];
vimAlias = true;
}

View File

@ -22,9 +22,6 @@
normal = { normal = {
"<Shift-J>" = "tab-prev"; "<Shift-J>" = "tab-prev";
"<Shift-K>" = "tab-next"; "<Shift-K>" = "tab-next";
",s" = "set-cmd-text -s :session-save -o";
",o" = "set-cmd-text -s :session-load";
",d" = "set-cmd-text -s :session-delete";
}; };
}; };
} }

View File

@ -102,7 +102,7 @@
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.jacob = { users.users.jacob = {
isNormalUser = true; isNormalUser = true;
extraGroups = [ "video" "wheel" ]; # Enable sudo for the user. extraGroups = ["wheel"]; # Enable sudo for the user.
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
@ -128,10 +128,6 @@
syncthing = import ./syncthing.nix; syncthing = import ./syncthing.nix;
udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="intel_backlight", MODE="0666", RUN+="${pkgs.coreutils}/bin/chmod a+w /sys/class/backlight/%k/brightness"
'';
# Enable the X11 windowing system. services.xserver.enable = true; # Enable the X11 windowing system. services.xserver.enable = true;
xserver = { xserver = {
enable = true; enable = true;