nvim:removed colorizer, added TCP ports in configs and misc stuff
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -14,6 +14,9 @@ jobs:
|
|||||||
- anup
|
- anup
|
||||||
- customscripts
|
- customscripts
|
||||||
- mpd_discord_richpresence
|
- mpd_discord_richpresence
|
||||||
|
- st
|
||||||
|
- dmenu
|
||||||
|
- kbd
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- uses: cachix/install-nix-action@v13
|
- uses: cachix/install-nix-action@v13
|
||||||
|
@@ -8,7 +8,6 @@
|
|||||||
customRC ="lua << EOF\n" + builtins.readFile ./nvim/init.lua + "\nEOF\n";
|
customRC ="lua << EOF\n" + builtins.readFile ./nvim/init.lua + "\nEOF\n";
|
||||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||||
start = [
|
start = [
|
||||||
nvim-colorizer-lua
|
|
||||||
auto-pairs
|
auto-pairs
|
||||||
vim-floaterm
|
vim-floaterm
|
||||||
vim-rooter
|
vim-rooter
|
||||||
|
@@ -4,7 +4,6 @@ require'lspconfig'.clangd.setup{}
|
|||||||
require'lspconfig'.tsserver.setup{}
|
require'lspconfig'.tsserver.setup{}
|
||||||
require'lspconfig'.jedi_language_server.setup{}
|
require'lspconfig'.jedi_language_server.setup{}
|
||||||
require'lspconfig'.purescriptls.setup{}
|
require'lspconfig'.purescriptls.setup{}
|
||||||
require'colorizer'.setup{}
|
|
||||||
|
|
||||||
local comm = vim.api.nvim_command
|
local comm = vim.api.nvim_command
|
||||||
local bind = vim.api.nvim_set_keymap
|
local bind = vim.api.nvim_set_keymap
|
||||||
|
@@ -15,7 +15,13 @@
|
|||||||
options = [ "bind" ];
|
options = [ "bind" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [
|
||||||
|
{
|
||||||
|
device = "/swapfile";
|
||||||
|
priority = 0;
|
||||||
|
size = 10240;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||||
hardware.firmware = [ pkgs.raspberrypiWirelessFirmware ];
|
hardware.firmware = [ pkgs.raspberrypiWirelessFirmware ];
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "Marisa";
|
hostName = "Marisa";
|
||||||
|
firewall.allowedTCPPorts = [ 22 80 ];
|
||||||
wireless = {
|
wireless = {
|
||||||
enable = false;
|
enable = false;
|
||||||
iwd.enable = true;
|
iwd.enable = true;
|
||||||
|
@@ -5,7 +5,8 @@
|
|||||||
gnumake
|
gnumake
|
||||||
htop
|
htop
|
||||||
vim
|
vim
|
||||||
libraspberrypi
|
tailscale
|
||||||
|
wireguard
|
||||||
];
|
];
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
|
@@ -5,5 +5,6 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
permitRootLogin = "yes";
|
permitRootLogin = "yes";
|
||||||
};
|
};
|
||||||
|
tailscale.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -8,9 +8,9 @@ diff --color -u a/config.def.h b/config.def.h
|
|||||||
- * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
- * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
||||||
*/
|
*/
|
||||||
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
|
||||||
+static char *font = "Fira Mono:style=Regular:pixelsize=20";
|
+static char *font = "Fira Mono:style=Regular:pixelsize=18";
|
||||||
+static char *font2[] = { "Font Awesome 5 Free Solid:pixelsize=18",
|
+static char *font2[] = { "Font Awesome 5 Free Solid:pixelsize=16",
|
||||||
+ "Font Awesome 5 Brands:pixelsize=18" };
|
+ "Font Awesome 5 Brands:pixelsize=16" };
|
||||||
static int borderpx = 2;
|
static int borderpx = 2;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -4,6 +4,7 @@
|
|||||||
networking = {
|
networking = {
|
||||||
hostName = "Satori";
|
hostName = "Satori";
|
||||||
wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
firewall.allowedTCPPorts = [ 22 ];
|
||||||
interfaces = {
|
interfaces = {
|
||||||
enp7s0.useDHCP = true;
|
enp7s0.useDHCP = true;
|
||||||
wlp0s20f3 = {
|
wlp0s20f3 = {
|
||||||
|
Reference in New Issue
Block a user