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