mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat: work qol
This commit is contained in:
parent
4ca971d869
commit
5f89b09659
7 changed files with 102 additions and 64 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
6
profiles/optional/nixos/vmware.nix
Normal file
6
profiles/optional/nixos/vmware.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
_:
|
||||
{
|
||||
|
||||
virtualisation.vmware.host.enable = true;
|
||||
virtualisation.vmware.guest.enable = true;
|
||||
}
|
||||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue