diff --git a/flake.nix b/flake.nix index 32a41fd..373c6d1 100644 --- a/flake.nix +++ b/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 diff --git a/home/modules/dev/default.nix b/home/modules/dev/default.nix index 8edd22c..f3a36e4 100644 --- a/home/modules/dev/default.nix +++ b/home/modules/dev/default.nix @@ -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 = { diff --git a/home/modules/gnome.nix b/home/modules/gnome.nix index ae7fa1e..573148b 100644 --- a/home/modules/gnome.nix +++ b/home/modules/gnome.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: { +{pkgs, ...}: { gtk = { enable = true; diff --git a/home/modules/term/default.nix b/home/modules/term/default.nix index f75a4c0..0228d74 100644 --- a/home/modules/term/default.nix +++ b/home/modules/term/default.nix @@ -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;