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
 | 
			
		||||
        - customscripts
 | 
			
		||||
        - mpd_discord_richpresence
 | 
			
		||||
        - st
 | 
			
		||||
        - dmenu
 | 
			
		||||
        - kbd
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v2.3.4
 | 
			
		||||
      - uses: cachix/install-nix-action@v13
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,6 @@
 | 
			
		||||
      customRC ="lua << EOF\n" + builtins.readFile ./nvim/init.lua + "\nEOF\n";
 | 
			
		||||
      packages.myVimPackage = with pkgs.vimPlugins; {
 | 
			
		||||
        start = [
 | 
			
		||||
          nvim-colorizer-lua
 | 
			
		||||
          auto-pairs 
 | 
			
		||||
          vim-floaterm 
 | 
			
		||||
          vim-rooter
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,6 @@ require'lspconfig'.clangd.setup{}
 | 
			
		||||
require'lspconfig'.tsserver.setup{}
 | 
			
		||||
require'lspconfig'.jedi_language_server.setup{}
 | 
			
		||||
require'lspconfig'.purescriptls.setup{}
 | 
			
		||||
require'colorizer'.setup{}
 | 
			
		||||
 | 
			
		||||
local comm = vim.api.nvim_command
 | 
			
		||||
local bind = vim.api.nvim_set_keymap
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,13 @@
 | 
			
		||||
      options = [ "bind" ];
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
  swapDevices = [ ];
 | 
			
		||||
  swapDevices = [
 | 
			
		||||
    {
 | 
			
		||||
      device = "/swapfile";
 | 
			
		||||
      priority = 0;
 | 
			
		||||
      size = 10240;
 | 
			
		||||
    }
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
 | 
			
		||||
  hardware.firmware = [ pkgs.raspberrypiWirelessFirmware ];
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,7 @@
 | 
			
		||||
{
 | 
			
		||||
  networking = {
 | 
			
		||||
    hostName = "Marisa";
 | 
			
		||||
    firewall.allowedTCPPorts = [ 22 80 ];
 | 
			
		||||
    wireless = {
 | 
			
		||||
      enable = false;
 | 
			
		||||
      iwd.enable = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -5,7 +5,8 @@
 | 
			
		||||
    gnumake
 | 
			
		||||
    htop
 | 
			
		||||
    vim
 | 
			
		||||
    libraspberrypi
 | 
			
		||||
    tailscale
 | 
			
		||||
    wireguard
 | 
			
		||||
  ];
 | 
			
		||||
  programs = {
 | 
			
		||||
    zsh = {
 | 
			
		||||
 
 | 
			
		||||
@@ -5,5 +5,6 @@
 | 
			
		||||
      enable = true;
 | 
			
		||||
      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
 | 
			
		||||
  */
 | 
			
		||||
-static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
 | 
			
		||||
+static char *font = "Fira Mono:style=Regular:pixelsize=20";
 | 
			
		||||
+static char *font2[] = { "Font Awesome 5 Free Solid:pixelsize=18",
 | 
			
		||||
+                         "Font Awesome 5 Brands:pixelsize=18" };
 | 
			
		||||
+static char *font = "Fira Mono:style=Regular:pixelsize=18";
 | 
			
		||||
+static char *font2[] = { "Font Awesome 5 Free Solid:pixelsize=16",
 | 
			
		||||
+                         "Font Awesome 5 Brands:pixelsize=16" };
 | 
			
		||||
 static int borderpx = 2;
 | 
			
		||||
 
 | 
			
		||||
 /*
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,7 @@
 | 
			
		||||
  networking = {
 | 
			
		||||
    hostName = "Satori";
 | 
			
		||||
    wireless.enable = true;  # Enables wireless support via wpa_supplicant.
 | 
			
		||||
    firewall.allowedTCPPorts = [ 22 ];
 | 
			
		||||
    interfaces = {
 | 
			
		||||
      enp7s0.useDHCP = true;
 | 
			
		||||
      wlp0s20f3 = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user