fix: formatting
This commit is contained in:
parent
4bf97d6556
commit
c890757a8c
4 changed files with 39 additions and 36 deletions
10
flake.nix
10
flake.nix
|
@ -51,9 +51,9 @@
|
|||
inherit self inputs nixpkgs home-manager;
|
||||
channelsConfig.allowUnfree = true;
|
||||
sharedOverlays = [
|
||||
self.overlays.additions
|
||||
self.overlays.modifications
|
||||
self.overlays.unstable-packages
|
||||
self.overlays.additions
|
||||
self.overlays.modifications
|
||||
self.overlays.unstable-packages
|
||||
];
|
||||
|
||||
# host defaults
|
||||
|
@ -72,8 +72,8 @@
|
|||
(import ./disko.nix {device = "/dev/disk/by-id/nvme-Samsung_SSD_980_PRO_with_Heatsink_1TB_S6WSNJ0T900943T";})
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = [ "https://cosmic.cachix.org/" ];
|
||||
trusted-public-keys = [ "cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE=" ];
|
||||
substituters = ["https://cosmic.cachix.org/"];
|
||||
trusted-public-keys = ["cosmic.cachix.org-1:Dya9IyXD4xdBehWjrkPv6rtxpmMdRel02smYzA85dPE="];
|
||||
};
|
||||
}
|
||||
nixos-cosmic.nixosModules.default
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
fx
|
||||
jq
|
||||
deno
|
||||
gleam
|
||||
unzip
|
||||
|
||||
transmission_4-gtk
|
||||
];
|
||||
|
@ -48,8 +50,8 @@
|
|||
showIcons = true;
|
||||
showFileTree = true;
|
||||
theme = {
|
||||
activeBorderColor = [ "magenta" "bold" ];
|
||||
inactiveBorderColor = [ "black" ];
|
||||
activeBorderColor = ["magenta" "bold"];
|
||||
inactiveBorderColor = ["black"];
|
||||
};
|
||||
};
|
||||
os = {
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
gtk = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -162,37 +162,41 @@ in {
|
|||
# '';
|
||||
# }
|
||||
];
|
||||
extraConfig = /*tmux*/ ''
|
||||
set -g default-terminal "tmux-256color"
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
set -sg escape-time 0
|
||||
extraConfig =
|
||||
/*
|
||||
tmux
|
||||
*/
|
||||
''
|
||||
set -g default-terminal "tmux-256color"
|
||||
set-option -sa terminal-overrides ",xterm*:Tc"
|
||||
set-window-option -g pane-base-index 1
|
||||
set-option -g renumber-windows on
|
||||
set -sg escape-time 0
|
||||
|
||||
# Use Alt-arrow keys without prefix key to switch panes
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
# Use Alt-arrow keys without prefix key to switch panes
|
||||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-Down select-pane -D
|
||||
|
||||
# Shift arrow to switch windows
|
||||
bind -n S-Left previous-window
|
||||
bind -n S-Right next-window
|
||||
# Shift arrow to switch windows
|
||||
bind -n S-Left previous-window
|
||||
bind -n S-Right next-window
|
||||
|
||||
# Shift Alt vim keys to switch windows
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
# Shift Alt vim keys to switch windows
|
||||
bind -n M-H previous-window
|
||||
bind -n M-L next-window
|
||||
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||
|
||||
bind '_' split-window -v -c "#{pane_current_path}"
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
bind '_' split-window -v -c "#{pane_current_path}"
|
||||
bind | split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
'';
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
'';
|
||||
};
|
||||
};
|
||||
xdg.configFile."lf/icons".source = ../../dotfiles/lf-icons;
|
||||
|
|
Loading…
Reference in a new issue