feat: work qol

This commit is contained in:
Swarsel 2024-10-14 23:45:19 +02:00
parent 4ca971d869
commit 5f89b09659
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
7 changed files with 102 additions and 64 deletions

View file

@ -71,10 +71,7 @@ in
set -g mouse on
# Change splits to match nvim and easier to remember
# Open new split at cwd of current split
unbind %
unbind '"'
bind | split-window -h -c "#{pane_current_path}"
bind - split-window -v -c "#{pane_current_path}"
@ -89,21 +86,12 @@ in
# Escape turns on copy mode
bind Escape copy-mode
# Easier reload of config
bind r source-file ~/.config/tmux/tmux.conf
set-option -g status-position top
# make Prefix p paste the buffer.
unbind p
bind p paste-buffer
# Bind Keys
bind-key -T prefix C-g split-window \
"$SHELL --login -i -c 'navi --print | head -c -1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"
bind-key -T prefix C-l switch -t notes
bind-key -T prefix C-d switch -t dotfiles
bind-key e send-keys "tmux capture-pane -p -S - | nvim -c 'set buftype=nofile' +" Enter
'';
};
}

View file

@ -9,7 +9,8 @@
./disk-config.nix
../optional/nixos/steam.nix
# ../optional/nixos/virtualbox.nix
../optional/nixos/virtualbox.nix
# ../optional/nixos/vmware.nix
../optional/nixos/autologin.nix
../optional/nixos/nswitch-rcm.nix
../optional/nixos/work.nix

View file

@ -0,0 +1,6 @@
_:
{
virtualisation.vmware.host.enable = true;
virtualisation.vmware.guest.enable = true;
}

View file

@ -9,10 +9,24 @@
};
virtualisation.docker.enable = true;
environment.systemPackages = with pkgs; [
# (python39.withPackages (ps: with ps; [
# cryptography
# ]))
# docker
python39
docker
qemu
packer
gnumake
libisoburn
govc
];
services.openssh = {
enable = true;
extraConfig = ''
'';
};
specialisation = {
cgroup_v1.configuration = {
boot.kernelParams = [

View file

@ -22,6 +22,7 @@
PAPERLESS_URL = "https://scan.swarsel.win";
PAPERLESS_OCR_USER_ARGS = builtins.toJSON {
optimize = 1;
invalidate_digital_signatures = true;
pdfa_image_compression = "lossless";
};
};