mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Touch-up on koishi, fix gitmodules
This commit is contained in:
parent
3d3cdda8cb
commit
2ba7aea5d1
8 changed files with 16 additions and 10 deletions
|
|
@ -6,6 +6,7 @@
|
|||
controlMaster = "auto";
|
||||
controlPersist = "10m";
|
||||
hashKnownHosts = true;
|
||||
compression = true;
|
||||
matchBlocks =
|
||||
let
|
||||
common = {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ set sw=2
|
|||
|
||||
" colors
|
||||
let base16colorspace=256
|
||||
colorscheme base16-default-dark
|
||||
autocmd vimenter * highlight Normal guibg=NONE ctermbg=NONE
|
||||
autocmd SourcePost * highlight Normal ctermbg=NONE guibg=NONE
|
||||
\ | highlight LineNr ctermbg=NONE guibg=NONE
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }: with lib;
|
||||
{ config, lib, pkgs, nixos, ... }: with lib;
|
||||
|
||||
let initvim = pkgs.callPackage
|
||||
({ stdenv, elinks, nodejs }: stdenv.mkDerivation {
|
||||
|
|
@ -23,6 +23,7 @@ in
|
|||
enable = true;
|
||||
extraConfig = ''
|
||||
source ${initvim}
|
||||
${if nixos.networking.hostName == "koishi" then "color-scheme base16-default-light" else "colorscheme base16-default-dark"}
|
||||
'';
|
||||
vimAlias = true;
|
||||
viAlias = true;
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ in
|
|||
packageConfigurable = pkgs.vim_configurable-pynvim;
|
||||
extraConfig = ''
|
||||
source ${initvim}
|
||||
${if nixos.networking.hostName == "koishi" then "color-scheme base16-default-light" else "colorscheme base16-default-dark"}
|
||||
'';
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
"vim-cool"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, nixos, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
|
@ -9,8 +9,8 @@ with lib;
|
|||
mode = "shuffle";
|
||||
commonTags = [ "width:>=1600" ];
|
||||
tagList = map (toList) [
|
||||
["score:>=50"
|
||||
"touhou"]
|
||||
(["score:>=50"
|
||||
"touhou"] ++ optional (nixos.networking.hostName == "koishi") "rating:s")
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@
|
|||
enable = true;
|
||||
systemd.enable = true;
|
||||
settings = [{
|
||||
modules-right = [ "clock#s" "clock#arc" "clock#hex" "clock#miku" "clock" ];
|
||||
modules-center = [ "sway/workspaces" "sway/mode" "sway/window" ];
|
||||
modules-left = [
|
||||
modules-center = [ "clock#s" "clock#arc" "clock#hex" "clock#miku" "clock" ];
|
||||
modules-left = [ "sway/workspaces" "sway/mode" "sway/window" ];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"pulseaudio"
|
||||
"custom/mail"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue