Compare commits
No commits in common. "c9f102ba2aa336f2111e8625705b46bea80b59f3" and "be2a3c31e58425b450dd3339b815a2ad66c46227" have entirely different histories.
c9f102ba2a
...
be2a3c31e5
2 changed files with 1 additions and 38 deletions
|
@ -1,21 +1,6 @@
|
||||||
{config, lib, pkgs, ... }:
|
{pkgs, ... }:
|
||||||
|
|
||||||
let
|
|
||||||
maxThumbnails = config.programs.gnome.extensions.workspaceIndicator.maxThumbnails;
|
|
||||||
workspaceIndicator = pkgs.gnomeExtensions.workspace-indicator.overrideAttrs {
|
|
||||||
postPatch = ''
|
|
||||||
sed -i 's/const MAX_THUMBNAILS = 6;/const MAX_THUMBNAILS = ${maxThumbnails};/' extension.js
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
options = {
|
|
||||||
programs.gnome.extensions.workspaceIndicator.maxThumbnails = lib.mkOption {
|
|
||||||
type = lib.types.int;
|
|
||||||
default = 11;
|
|
||||||
description = "The maximum number of thumbnails to show in the workspace indicator";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
imports = [
|
imports = [
|
||||||
../unstable-packages.nix
|
../unstable-packages.nix
|
||||||
../dconf-common.nix
|
../dconf-common.nix
|
||||||
|
@ -71,7 +56,6 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
workspaceIndicator
|
|
||||||
gnomeExtensions.pop-shell
|
gnomeExtensions.pop-shell
|
||||||
gnomeExtensions.vitals
|
gnomeExtensions.vitals
|
||||||
gnomeExtensions.tray-icons-reloaded
|
gnomeExtensions.tray-icons-reloaded
|
||||||
|
|
|
@ -91,38 +91,17 @@ in
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
set autoindent
|
set autoindent
|
||||||
set updatetime=500
|
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set wildmode=longest,list,full
|
set wildmode=longest,list,full
|
||||||
set listchars=space:·,tab:┄┄»
|
set listchars=space:·,tab:┄┄»
|
||||||
set indentkeys-=0#
|
set indentkeys-=0#
|
||||||
|
|
||||||
" rainbow-delimeters-nvim
|
|
||||||
let g:rainbow_delimiters = {
|
|
||||||
\ 'strategy': {
|
|
||||||
\ ${"''"}: rainbow_delimiters#strategy.global,
|
|
||||||
\ },
|
|
||||||
\ }
|
|
||||||
|
|
||||||
" vim-gitguter
|
|
||||||
set signcolumn=yes
|
|
||||||
highlight SignColumn ctermbg=NONE
|
|
||||||
highlight GitGutterAdd ctermfg=2
|
|
||||||
highlight GitGutterChange ctermfg=4
|
|
||||||
highlight GitGutterDelete ctermfg=1
|
|
||||||
|
|
||||||
lua require('guess-indent').setup {}
|
|
||||||
'';
|
'';
|
||||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||||
start = [
|
start = [
|
||||||
guess-indent-nvim
|
guess-indent-nvim
|
||||||
vim-visual-multi
|
vim-visual-multi
|
||||||
autoclose-nvim
|
|
||||||
rainbow-delimiters-nvim
|
|
||||||
vimagit
|
|
||||||
vim-gitgutter
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue