From 2680d535b5f365ff89be8d75db5bd1d1f6203c8e Mon Sep 17 00:00:00 2001 From: idcretard Date: Wed, 31 Mar 2021 05:41:15 +0530 Subject: [PATCH] Added NixOS configs --- .gitmodules | 3 + Hardware/boot.nix | 30 + Hardware/graphicshit.nix | 30 + Hardware/power.nix | 7 + Hardware/xorg.nix | 26 + Packages/colemak-dh.map | 1462 +++++++++++++++++++++++++ Packages/customscripts.nix | 17 + Packages/dmenu/config.def.h | 30 + Packages/mpd_discord_richpresence.nix | 26 + Packages/override.nix | 37 + Packages/scripts | 1 + README.md | 6 + Stuff/fonts.nix | 10 + Stuff/services.nix | 22 + Stuff/sound.nix | 28 + Stuff/users.nix | 10 + configuration.nix | 12 + hardware.nix | 50 + networking.nix | 13 + pkgs.nix | 47 + stuff.nix | 35 + 21 files changed, 1902 insertions(+) create mode 100644 .gitmodules create mode 100644 Hardware/boot.nix create mode 100644 Hardware/graphicshit.nix create mode 100644 Hardware/power.nix create mode 100644 Hardware/xorg.nix create mode 100644 Packages/colemak-dh.map create mode 100644 Packages/customscripts.nix create mode 100644 Packages/dmenu/config.def.h create mode 100644 Packages/mpd_discord_richpresence.nix create mode 100644 Packages/override.nix create mode 160000 Packages/scripts create mode 100644 README.md create mode 100644 Stuff/fonts.nix create mode 100644 Stuff/services.nix create mode 100644 Stuff/sound.nix create mode 100644 Stuff/users.nix create mode 100644 configuration.nix create mode 100644 hardware.nix create mode 100644 networking.nix create mode 100644 pkgs.nix create mode 100644 stuff.nix diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..60573f6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Packages/scripts"] + path = Packages/scripts + url = https://github.com/idcretard/custom-scripts diff --git a/Hardware/boot.nix b/Hardware/boot.nix new file mode 100644 index 0000000..565d667 --- /dev/null +++ b/Hardware/boot.nix @@ -0,0 +1,30 @@ +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; + + boot = { + initrd={ + availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; + kernelModules = [ ]; + }; + kernelModules = [ "kvm-intel" ]; + extraModulePackages = [ ]; + loader = { + efi = { + canTouchEfiVariables = true; + efiSysMountPoint = "/boot/efi"; + }; + grub = { + enable = true; + useOSProber = true; + efiSupport = true; + device = "nodev"; + splashImage = "/etc/cirno.png"; #hehe + splashMode = "stretch"; + configurationName = "nixbruh"; + }; + }; + kernelParams = [ "nvidia-drm.modeset=1" "intel_pstate=active"]; + }; +} diff --git a/Hardware/graphicshit.nix b/Hardware/graphicshit.nix new file mode 100644 index 0000000..e86d7cf --- /dev/null +++ b/Hardware/graphicshit.nix @@ -0,0 +1,30 @@ +{lib, config, pkgs, ... }: +let + nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" '' + export __NV_PRIME_RENDER_OFFLOAD=1 + export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0 + export __GLX_VENDOR_LIBRARY_NAME=nvidia + export __VK_LAYER_NV_optimus=NVIDIA_only + exec -a "$0" "$@" + ''; +in + { + environment.systemPackages = with pkgs; [ + nvidia-offload + ]; + hardware = { + opengl = { + driSupport32Bit = true; + #package = pkgs.mesa_drivers; + enable = true; + }; + nvidia = { + prime = { + offload = { enable = true; }; + intelBusId = "PCI:0:2:0"; + nvidiaBusId = "PCI:1:0:0"; + }; + modesetting = { enable = true; }; + }; + }; + } diff --git a/Hardware/power.nix b/Hardware/power.nix new file mode 100644 index 0000000..49bb493 --- /dev/null +++ b/Hardware/power.nix @@ -0,0 +1,7 @@ +{ config, lib, pkgs, modulesPath, ... }: + +{ + powerManagement = { + cpuFreqGovernor = lib.mkDefault "powersave"; + }; +} diff --git a/Hardware/xorg.nix b/Hardware/xorg.nix new file mode 100644 index 0000000..ca0a7d8 --- /dev/null +++ b/Hardware/xorg.nix @@ -0,0 +1,26 @@ + +{ config, lib, pkgs, modulesPath, ... }: + +{ + services = { + xserver = { + enable = true; + libinput= { + enable = true; + mouse = { + accelSpeed = "0"; + }; + touchpad = { + middleEmulation = false; + clickMethod = "buttonareas"; + tapping = true; + naturalScrolling =true; + }; + }; + displayManager = {startx = {enable = true; }; }; + videoDrivers = [ "nvidia" ]; + layout = "us"; + xkbVariant = "colemak"; + }; + }; +} diff --git a/Packages/colemak-dh.map b/Packages/colemak-dh.map new file mode 100644 index 0000000..128bfce --- /dev/null +++ b/Packages/colemak-dh.map @@ -0,0 +1,1462 @@ +keymaps 0-12 +keycode 1 = Escape + alt keycode 1 = Meta_Escape + shift alt keycode 1 = Meta_Escape + altgr alt keycode 1 = Meta_Escape + shift altgr alt keycode 1 = Meta_Escape + control alt keycode 1 = Meta_Escape +keycode 2 = one exclam exclamdown onesuperior + alt keycode 2 = Meta_one + shift alt keycode 2 = Meta_exclam +keycode 3 = two at masculine twosuperior nul + alt keycode 3 = Meta_two + shift alt keycode 3 = Meta_at + control alt keycode 3 = Meta_nul +keycode 4 = three numbersign ordfeminine threesuperior Escape + alt keycode 4 = Meta_three + shift alt keycode 4 = Meta_numbersign + control alt keycode 4 = Meta_Escape +keycode 5 = four dollar cent sterling Control_backslash + alt keycode 5 = Meta_four + shift alt keycode 5 = Meta_dollar + control alt keycode 5 = Meta_Control_backslash +keycode 6 = five percent euro yen Control_bracketright + alt keycode 6 = Meta_five + shift alt keycode 6 = Meta_percent + control alt keycode 6 = Meta_Control_bracketright +keycode 7 = six asciicircum asciitilde asciitilde Control_asciicircum + alt keycode 7 = Meta_six + shift alt keycode 7 = Meta_asciicircum + altgr alt keycode 7 = Meta_asciitilde + shift altgr alt keycode 7 = Meta_asciitilde + control alt keycode 7 = Meta_Control_asciicircum +keycode 8 = seven ampersand eth ETH Control_underscore + alt keycode 8 = Meta_seven + shift alt keycode 8 = Meta_ampersand + control alt keycode 8 = Meta_Control_underscore +keycode 9 = eight asterisk thorn THORN Delete + alt keycode 9 = Meta_eight + shift alt keycode 9 = Meta_asterisk + control alt keycode 9 = Meta_Delete +keycode 10 = nine parenleft asciitilde asciitilde + alt keycode 10 = Meta_nine + shift alt keycode 10 = Meta_parenleft + altgr alt keycode 10 = Meta_asciitilde + shift altgr alt keycode 10 = Meta_asciitilde +keycode 11 = zero parenright asciitilde asciitilde + alt keycode 11 = Meta_zero + shift alt keycode 11 = Meta_parenright + altgr alt keycode 11 = Meta_asciitilde + shift altgr alt keycode 11 = Meta_asciitilde +keycode 12 = minus underscore asciitilde asciitilde Control_underscore + alt keycode 12 = Meta_minus + shift alt keycode 12 = Meta_underscore + altgr alt keycode 12 = Meta_asciitilde + shift altgr alt keycode 12 = Meta_asciitilde + control alt keycode 12 = Meta_Control_underscore +keycode 13 = equal plus multiply division + alt keycode 13 = Meta_equal + shift alt keycode 13 = Meta_plus +keycode 14 = Delete + alt keycode 14 = Meta_Delete + shift alt keycode 14 = Meta_Delete + altgr alt keycode 14 = Meta_Delete + shift altgr alt keycode 14 = Meta_Delete + control alt keycode 14 = Meta_Delete +keycode 15 = Tab + alt keycode 15 = Meta_Tab + shift alt keycode 15 = Meta_Tab + altgr alt keycode 15 = Meta_Tab + shift altgr alt keycode 15 = Meta_Tab + control alt keycode 15 = Meta_Tab +keycode 16 = +q Q adiaeresis Adiaeresis Control_q + alt keycode 16 = Meta_q + shift alt keycode 16 = Meta_Q + control alt keycode 16 = Meta_Control_q +keycode 17 = +w W aring Aring Control_w + alt keycode 17 = Meta_w + shift alt keycode 17 = Meta_W + control alt keycode 17 = Meta_Control_w +keycode 18 = +f F atilde Atilde Control_f + alt keycode 18 = Meta_e + shift alt keycode 18 = Meta_F + control alt keycode 18 = Meta_Control_f +keycode 19 = +p P oslash Ooblique Control_p + alt keycode 19 = Meta_r + shift alt keycode 19 = Meta_P + control alt keycode 19 = Meta_Control_p +keycode 20 = +b B asciitilde asciitilde Control_g + alt keycode 20 = Meta_t + shift alt keycode 20 = Meta_B + altgr alt keycode 20 = Meta_asciitilde + shift altgr alt keycode 20 = Meta_asciitilde + control alt keycode 20 = Meta_Control_b +keycode 21 = +j J asciitilde asciitilde Linefeed + alt keycode 21 = Meta_y + shift alt keycode 21 = Meta_J + altgr alt keycode 21 = Meta_asciitilde + shift altgr alt keycode 21 = Meta_asciitilde + control alt keycode 21 = Meta_Linefeed +keycode 22 = +l L asciitilde asciitilde Control_l + alt keycode 22 = Meta_u + shift alt keycode 22 = Meta_L + altgr alt keycode 22 = Meta_asciitilde + shift altgr alt keycode 22 = Meta_asciitilde + control alt keycode 22 = Meta_Control_l +keycode 23 = +u U uacute Uacute Control_u + alt keycode 23 = Meta_i + shift alt keycode 23 = Meta_U + control alt keycode 23 = Meta_Control_u +keycode 24 = +y Y udiaeresis Udiaeresis Control_y + alt keycode 24 = Meta_o + shift alt keycode 24 = Meta_Y + control alt keycode 24 = Meta_Control_y +keycode 25 = semicolon colon odiaeresis Odiaeresis + alt keycode 25 = Meta_p + shift alt keycode 25 = Meta_colon +keycode 26 = bracketleft braceleft guillemotleft asciitilde Escape + alt keycode 26 = Meta_bracketleft + shift alt keycode 26 = Meta_braceleft + shift altgr alt keycode 26 = Meta_asciitilde + control alt keycode 26 = Meta_Escape +keycode 27 = bracketright braceright guillemotright asciitilde Control_bracketright + alt keycode 27 = Meta_bracketright + shift alt keycode 27 = Meta_braceright + shift altgr alt keycode 27 = Meta_asciitilde + control alt keycode 27 = Meta_Control_bracketright +keycode 28 = Return + alt keycode 28 = Meta_Control_m +keycode 29 = Control +keycode 30 = +a A aacute Aacute Control_a + alt keycode 30 = Meta_a + shift alt keycode 30 = Meta_A + control alt keycode 30 = Meta_Control_a +keycode 31 = +r R dead_grave asciitilde Control_r + alt keycode 31 = Meta_s + shift alt keycode 31 = Meta_R + shift altgr alt keycode 31 = Meta_asciitilde + control alt keycode 31 = Meta_Control_r +keycode 32 = +s S ssharp asciitilde Control_s + alt keycode 32 = Meta_d + shift alt keycode 32 = Meta_S + shift altgr alt keycode 32 = Meta_asciitilde + control alt keycode 32 = Meta_Control_s +keycode 33 = +t T dead_acute asciitilde Control_t + alt keycode 33 = Meta_f + shift alt keycode 33 = Meta_T + shift altgr alt keycode 33 = Meta_asciitilde + control alt keycode 33 = Meta_Control_t +keycode 34 = +g G dead_diaeresis asciitilde Control_d + alt keycode 34 = Meta_g + shift alt keycode 34 = Meta_G + shift altgr alt keycode 34 = Meta_asciitilde + control alt keycode 34 = Meta_Control_g +keycode 35 = +m M asciitilde asciitilde BackSpace + alt keycode 35 = Meta_h + shift alt keycode 35 = Meta_M + altgr alt keycode 35 = Meta_asciitilde + shift altgr alt keycode 35 = Meta_asciitilde + control alt keycode 35 = Meta_BackSpace +keycode 36 = +n N ntilde Ntilde Control_n + alt keycode 36 = Meta_j + shift alt keycode 36 = Meta_N + control alt keycode 36 = Meta_Control_n +keycode 37 = +e E eacute Eacute Control_e + alt keycode 37 = Meta_k + shift alt keycode 37 = Meta_E + control alt keycode 37 = Meta_Control_e +keycode 38 = +i I iacute Iacute Tab + alt keycode 38 = Meta_l + shift alt keycode 38 = Meta_I + control alt keycode 38 = Meta_Tab +keycode 39 = o O oacute Oacute Control_o + alt keycode 39 = Meta_o + shift alt keycode 39 = Meta_O + control alt keycode 39 = Meta_Control_o +keycode 40 = apostrophe quotedbl otilde Otilde + alt keycode 40 = Meta_apostrophe + shift alt keycode 40 = Meta_quotedbl +keycode 41 = grave asciitilde dead_tilde asciitilde nul + alt keycode 41 = Meta_grave + shift alt keycode 41 = Meta_asciitilde + shift altgr alt keycode 41 = Meta_asciitilde + control alt keycode 41 = Meta_nul +keycode 42 = Shift +keycode 43 = backslash bar asciitilde asciitilde Control_backslash + alt keycode 43 = Meta_backslash + shift alt keycode 43 = Meta_bar + altgr alt keycode 43 = Meta_asciitilde + shift altgr alt keycode 43 = Meta_asciitilde + control alt keycode 43 = Meta_Control_backslash +keycode 44 = +z Z ae AE Control_z + alt keycode 44 = Meta_z + shift alt keycode 44 = Meta_Z + control alt keycode 44 = Meta_Control_z +keycode 45 = +x X dead_circumflex asciitilde Control_x + alt keycode 45 = Meta_x + shift alt keycode 45 = Meta_X + shift altgr alt keycode 45 = Meta_asciitilde + control alt keycode 45 = Meta_Control_x +keycode 46 = +c C ccedilla Ccedilla Control_c + alt keycode 46 = Meta_c + shift alt keycode 46 = Meta_C + control alt keycode 46 = Meta_Control_c +keycode 47 = +d D oe OE Control_v + alt keycode 47 = Meta_v + shift alt keycode 47 = Meta_D + control alt keycode 47 = Meta_Control_d +keycode 48 = +v V asciitilde asciitilde Control_b + alt keycode 48 = Meta_b + shift alt keycode 48 = Meta_V + altgr alt keycode 48 = Meta_asciitilde + shift altgr alt keycode 48 = Meta_asciitilde + control alt keycode 48 = Meta_Control_v +keycode 49 = +k K asciitilde asciitilde Control_k + alt keycode 49 = Meta_n + shift alt keycode 49 = Meta_K + altgr alt keycode 49 = Meta_asciitilde + shift altgr alt keycode 49 = Meta_asciitilde + control alt keycode 49 = Meta_Control_k +keycode 50 = +h H asciitilde asciitilde Control_m + alt keycode 50 = Meta_m + shift alt keycode 50 = Meta_H + altgr alt keycode 50 = Meta_asciitilde + shift altgr alt keycode 50 = Meta_asciitilde + control alt keycode 50 = Meta_Control_h +keycode 51 = comma less dead_cedilla asciitilde + alt keycode 51 = Meta_comma + shift alt keycode 51 = Meta_less + shift altgr alt keycode 51 = Meta_asciitilde +keycode 52 = period greater asciitilde asciitilde + alt keycode 52 = Meta_period + shift alt keycode 52 = Meta_greater + altgr alt keycode 52 = Meta_asciitilde + shift altgr alt keycode 52 = Meta_asciitilde +keycode 53 = slash question questiondown asciitilde Delete + alt keycode 53 = Meta_slash + shift alt keycode 53 = Meta_question + shift altgr alt keycode 53 = Meta_asciitilde + control alt keycode 53 = Meta_Delete +keycode 54 = Shift +keycode 55 = KP_Multiply + altgr keycode 55 = Hex_C +keycode 56 = Alt +keycode 57 = space space space nobreakspace nul + alt keycode 57 = Meta_space + shift alt keycode 57 = Meta_space + altgr alt keycode 57 = Meta_space + control alt keycode 57 = Meta_nul +keycode 58 = BackSpace BackSpace BackSpace BackSpace + alt keycode 58 = Meta_BackSpace + shift alt keycode 58 = Meta_BackSpace + altgr alt keycode 58 = Meta_BackSpace + shift altgr alt keycode 58 = Meta_BackSpace +keycode 59 = F1 F13 + control keycode 59 = F25 + alt keycode 59 = Console_1 + control alt keycode 59 = Console_1 +keycode 60 = F2 F14 + control keycode 60 = F26 + alt keycode 60 = Console_2 + control alt keycode 60 = Console_2 +keycode 61 = F3 F15 + control keycode 61 = F27 + alt keycode 61 = Console_3 + control alt keycode 61 = Console_3 +keycode 62 = F4 F16 + control keycode 62 = F28 + alt keycode 62 = Console_4 + control alt keycode 62 = Console_4 +keycode 63 = F5 F17 + control keycode 63 = F29 + alt keycode 63 = Console_5 + control alt keycode 63 = Console_5 +keycode 64 = F6 F18 + control keycode 64 = F30 + alt keycode 64 = Console_6 + control alt keycode 64 = Console_6 +keycode 65 = F7 F19 + control keycode 65 = F31 + alt keycode 65 = Console_7 + control alt keycode 65 = Console_7 +keycode 66 = F8 F20 + control keycode 66 = F32 + alt keycode 66 = Console_8 + control alt keycode 66 = Console_8 +keycode 67 = F9 F21 + control keycode 67 = F33 + alt keycode 67 = Console_9 + control alt keycode 67 = Console_9 +keycode 68 = F10 F22 + control keycode 68 = F34 + alt keycode 68 = Console_10 + control alt keycode 68 = Console_10 +keycode 69 = Num_Lock + altgr keycode 69 = Hex_A +keycode 70 = Scroll_Lock Show_Memory Show_Registers + control keycode 70 = Show_State + alt keycode 70 = Scroll_Lock +keycode 71 = KP_7 + altgr keycode 71 = Hex_7 + alt keycode 71 = Ascii_7 +keycode 72 = KP_8 + altgr keycode 72 = Hex_8 + alt keycode 72 = Ascii_8 +keycode 73 = KP_9 + altgr keycode 73 = Hex_9 + alt keycode 73 = Ascii_9 +keycode 74 = KP_Subtract + altgr keycode 74 = Hex_D +keycode 75 = KP_4 + altgr keycode 75 = Hex_4 + alt keycode 75 = Ascii_4 +keycode 76 = KP_5 + altgr keycode 76 = Hex_5 + alt keycode 76 = Ascii_5 +keycode 77 = KP_6 + altgr keycode 77 = Hex_6 + alt keycode 77 = Ascii_6 +keycode 78 = KP_Add + altgr keycode 78 = Hex_E +keycode 79 = KP_1 + altgr keycode 79 = Hex_1 + alt keycode 79 = Ascii_1 +keycode 80 = KP_2 + altgr keycode 80 = Hex_2 + alt keycode 80 = Ascii_2 +keycode 81 = KP_3 + altgr keycode 81 = Hex_3 + alt keycode 81 = Ascii_3 +keycode 82 = KP_0 + altgr keycode 82 = Hex_0 + alt keycode 82 = Ascii_0 +keycode 83 = KP_Period + altgr control keycode 83 = Boot + control alt keycode 83 = Boot +keycode 84 = Last_Console +keycode 86 = minus underscore asciitilde asciitilde Control_underscore + alt keycode 86 = Meta_minus + shift alt keycode 86 = Meta_underscore + altgr alt keycode 86 = Meta_asciitilde + shift altgr alt keycode 86 = Meta_asciitilde + control alt keycode 86 = Meta_Control_underscore +keycode 87 = F11 F23 + control keycode 87 = F35 + alt keycode 87 = Console_11 + control alt keycode 87 = Console_11 +keycode 88 = F12 F24 + control keycode 88 = F36 + alt keycode 88 = Console_12 + control alt keycode 88 = Console_12 +keycode 96 = KP_Enter + altgr keycode 96 = Hex_F +keycode 97 = Control +keycode 98 = KP_Divide + altgr keycode 98 = Hex_B +keycode 99 = Compose + control keycode 99 = Control_backslash + alt keycode 99 = Control_backslash + control alt keycode 99 = Meta_Control_backslash +keycode 100 = AltGr + alt keycode 100 = Compose +keycode 101 = Break +keycode 102 = Find +keycode 103 = Up + alt keycode 103 = KeyboardSignal +keycode 104 = Prior + shift keycode 104 = Scroll_Backward +keycode 105 = Left + alt keycode 105 = Decr_Console +keycode 106 = Right + alt keycode 106 = Incr_Console +keycode 107 = Select +keycode 108 = Down +keycode 109 = Next + shift keycode 109 = Scroll_Forward +keycode 110 = Insert +keycode 111 = Remove + altgr control keycode 111 = Boot + control alt keycode 111 = Boot +keycode 119 = Pause +keycode 128 = nul + shift altgr keycode 128 = VoidSymbol + altgr control keycode 128 = VoidSymbol + shift altgr control keycode 128 = VoidSymbol + shift alt keycode 128 = VoidSymbol + altgr alt keycode 128 = VoidSymbol + shift altgr alt keycode 128 = VoidSymbol +keycode 129 = nul + shift altgr keycode 129 = VoidSymbol + altgr control keycode 129 = VoidSymbol + shift altgr control keycode 129 = VoidSymbol + shift alt keycode 129 = VoidSymbol + altgr alt keycode 129 = VoidSymbol + shift altgr alt keycode 129 = VoidSymbol +keycode 130 = nul + shift altgr keycode 130 = VoidSymbol + altgr control keycode 130 = VoidSymbol + shift altgr control keycode 130 = VoidSymbol + shift alt keycode 130 = VoidSymbol + altgr alt keycode 130 = VoidSymbol + shift altgr alt keycode 130 = VoidSymbol +keycode 131 = nul + shift altgr keycode 131 = VoidSymbol + altgr control keycode 131 = VoidSymbol + shift altgr control keycode 131 = VoidSymbol + shift alt keycode 131 = VoidSymbol + altgr alt keycode 131 = VoidSymbol + shift altgr alt keycode 131 = VoidSymbol +keycode 132 = nul + shift altgr keycode 132 = VoidSymbol + altgr control keycode 132 = VoidSymbol + shift altgr control keycode 132 = VoidSymbol + shift alt keycode 132 = VoidSymbol + altgr alt keycode 132 = VoidSymbol + shift altgr alt keycode 132 = VoidSymbol +keycode 133 = nul + shift altgr keycode 133 = VoidSymbol + altgr control keycode 133 = VoidSymbol + shift altgr control keycode 133 = VoidSymbol + shift alt keycode 133 = VoidSymbol + altgr alt keycode 133 = VoidSymbol + shift altgr alt keycode 133 = VoidSymbol +keycode 134 = nul + shift altgr keycode 134 = VoidSymbol + altgr control keycode 134 = VoidSymbol + shift altgr control keycode 134 = VoidSymbol + shift alt keycode 134 = VoidSymbol + altgr alt keycode 134 = VoidSymbol + shift altgr alt keycode 134 = VoidSymbol +keycode 135 = nul + shift altgr keycode 135 = VoidSymbol + altgr control keycode 135 = VoidSymbol + shift altgr control keycode 135 = VoidSymbol + shift alt keycode 135 = VoidSymbol + altgr alt keycode 135 = VoidSymbol + shift altgr alt keycode 135 = VoidSymbol +keycode 136 = nul + shift altgr keycode 136 = VoidSymbol + altgr control keycode 136 = VoidSymbol + shift altgr control keycode 136 = VoidSymbol + shift alt keycode 136 = VoidSymbol + altgr alt keycode 136 = VoidSymbol + shift altgr alt keycode 136 = VoidSymbol +keycode 137 = nul + shift altgr keycode 137 = VoidSymbol + altgr control keycode 137 = VoidSymbol + shift altgr control keycode 137 = VoidSymbol + shift alt keycode 137 = VoidSymbol + altgr alt keycode 137 = VoidSymbol + shift altgr alt keycode 137 = VoidSymbol +keycode 138 = nul + shift altgr keycode 138 = VoidSymbol + altgr control keycode 138 = VoidSymbol + shift altgr control keycode 138 = VoidSymbol + shift alt keycode 138 = VoidSymbol + altgr alt keycode 138 = VoidSymbol + shift altgr alt keycode 138 = VoidSymbol +keycode 139 = nul + shift altgr keycode 139 = VoidSymbol + altgr control keycode 139 = VoidSymbol + shift altgr control keycode 139 = VoidSymbol + shift alt keycode 139 = VoidSymbol + altgr alt keycode 139 = VoidSymbol + shift altgr alt keycode 139 = VoidSymbol +keycode 140 = nul + shift altgr keycode 140 = VoidSymbol + altgr control keycode 140 = VoidSymbol + shift altgr control keycode 140 = VoidSymbol + shift alt keycode 140 = VoidSymbol + altgr alt keycode 140 = VoidSymbol + shift altgr alt keycode 140 = VoidSymbol +keycode 141 = nul + shift altgr keycode 141 = VoidSymbol + altgr control keycode 141 = VoidSymbol + shift altgr control keycode 141 = VoidSymbol + shift alt keycode 141 = VoidSymbol + altgr alt keycode 141 = VoidSymbol + shift altgr alt keycode 141 = VoidSymbol +keycode 142 = nul + shift altgr keycode 142 = VoidSymbol + altgr control keycode 142 = VoidSymbol + shift altgr control keycode 142 = VoidSymbol + shift alt keycode 142 = VoidSymbol + altgr alt keycode 142 = VoidSymbol + shift altgr alt keycode 142 = VoidSymbol +keycode 143 = nul + shift altgr keycode 143 = VoidSymbol + altgr control keycode 143 = VoidSymbol + shift altgr control keycode 143 = VoidSymbol + shift alt keycode 143 = VoidSymbol + altgr alt keycode 143 = VoidSymbol + shift altgr alt keycode 143 = VoidSymbol +keycode 144 = nul + shift altgr keycode 144 = VoidSymbol + altgr control keycode 144 = VoidSymbol + shift altgr control keycode 144 = VoidSymbol + shift alt keycode 144 = VoidSymbol + altgr alt keycode 144 = VoidSymbol + shift altgr alt keycode 144 = VoidSymbol +keycode 145 = nul + shift altgr keycode 145 = VoidSymbol + altgr control keycode 145 = VoidSymbol + shift altgr control keycode 145 = VoidSymbol + shift alt keycode 145 = VoidSymbol + altgr alt keycode 145 = VoidSymbol + shift altgr alt keycode 145 = VoidSymbol +keycode 146 = nul + shift altgr keycode 146 = VoidSymbol + altgr control keycode 146 = VoidSymbol + shift altgr control keycode 146 = VoidSymbol + shift alt keycode 146 = VoidSymbol + altgr alt keycode 146 = VoidSymbol + shift altgr alt keycode 146 = VoidSymbol +keycode 147 = nul + shift altgr keycode 147 = VoidSymbol + altgr control keycode 147 = VoidSymbol + shift altgr control keycode 147 = VoidSymbol + shift alt keycode 147 = VoidSymbol + altgr alt keycode 147 = VoidSymbol + shift altgr alt keycode 147 = VoidSymbol +keycode 148 = nul + shift altgr keycode 148 = VoidSymbol + altgr control keycode 148 = VoidSymbol + shift altgr control keycode 148 = VoidSymbol + shift alt keycode 148 = VoidSymbol + altgr alt keycode 148 = VoidSymbol + shift altgr alt keycode 148 = VoidSymbol +keycode 149 = nul + shift altgr keycode 149 = VoidSymbol + altgr control keycode 149 = VoidSymbol + shift altgr control keycode 149 = VoidSymbol + shift alt keycode 149 = VoidSymbol + altgr alt keycode 149 = VoidSymbol + shift altgr alt keycode 149 = VoidSymbol +keycode 150 = nul + shift altgr keycode 150 = VoidSymbol + altgr control keycode 150 = VoidSymbol + shift altgr control keycode 150 = VoidSymbol + shift alt keycode 150 = VoidSymbol + altgr alt keycode 150 = VoidSymbol + shift altgr alt keycode 150 = VoidSymbol +keycode 151 = nul + shift altgr keycode 151 = VoidSymbol + altgr control keycode 151 = VoidSymbol + shift altgr control keycode 151 = VoidSymbol + shift alt keycode 151 = VoidSymbol + altgr alt keycode 151 = VoidSymbol + shift altgr alt keycode 151 = VoidSymbol +keycode 152 = nul + shift altgr keycode 152 = VoidSymbol + altgr control keycode 152 = VoidSymbol + shift altgr control keycode 152 = VoidSymbol + shift alt keycode 152 = VoidSymbol + altgr alt keycode 152 = VoidSymbol + shift altgr alt keycode 152 = VoidSymbol +keycode 153 = nul + shift altgr keycode 153 = VoidSymbol + altgr control keycode 153 = VoidSymbol + shift altgr control keycode 153 = VoidSymbol + shift alt keycode 153 = VoidSymbol + altgr alt keycode 153 = VoidSymbol + shift altgr alt keycode 153 = VoidSymbol +keycode 154 = nul + shift altgr keycode 154 = VoidSymbol + altgr control keycode 154 = VoidSymbol + shift altgr control keycode 154 = VoidSymbol + shift alt keycode 154 = VoidSymbol + altgr alt keycode 154 = VoidSymbol + shift altgr alt keycode 154 = VoidSymbol +keycode 155 = nul + shift altgr keycode 155 = VoidSymbol + altgr control keycode 155 = VoidSymbol + shift altgr control keycode 155 = VoidSymbol + shift alt keycode 155 = VoidSymbol + altgr alt keycode 155 = VoidSymbol + shift altgr alt keycode 155 = VoidSymbol +keycode 156 = nul + shift altgr keycode 156 = VoidSymbol + altgr control keycode 156 = VoidSymbol + shift altgr control keycode 156 = VoidSymbol + shift alt keycode 156 = VoidSymbol + altgr alt keycode 156 = VoidSymbol + shift altgr alt keycode 156 = VoidSymbol +keycode 157 = nul + shift altgr keycode 157 = VoidSymbol + altgr control keycode 157 = VoidSymbol + shift altgr control keycode 157 = VoidSymbol + shift alt keycode 157 = VoidSymbol + altgr alt keycode 157 = VoidSymbol + shift altgr alt keycode 157 = VoidSymbol +keycode 158 = nul + shift altgr keycode 158 = VoidSymbol + altgr control keycode 158 = VoidSymbol + shift altgr control keycode 158 = VoidSymbol + shift alt keycode 158 = VoidSymbol + altgr alt keycode 158 = VoidSymbol + shift altgr alt keycode 158 = VoidSymbol +keycode 159 = nul + shift altgr keycode 159 = VoidSymbol + altgr control keycode 159 = VoidSymbol + shift altgr control keycode 159 = VoidSymbol + shift alt keycode 159 = VoidSymbol + altgr alt keycode 159 = VoidSymbol + shift altgr alt keycode 159 = VoidSymbol +keycode 160 = nul + shift altgr keycode 160 = VoidSymbol + altgr control keycode 160 = VoidSymbol + shift altgr control keycode 160 = VoidSymbol + shift alt keycode 160 = VoidSymbol + altgr alt keycode 160 = VoidSymbol + shift altgr alt keycode 160 = VoidSymbol +keycode 161 = nul + shift altgr keycode 161 = VoidSymbol + altgr control keycode 161 = VoidSymbol + shift altgr control keycode 161 = VoidSymbol + shift alt keycode 161 = VoidSymbol + altgr alt keycode 161 = VoidSymbol + shift altgr alt keycode 161 = VoidSymbol +keycode 162 = nul + shift altgr keycode 162 = VoidSymbol + altgr control keycode 162 = VoidSymbol + shift altgr control keycode 162 = VoidSymbol + shift alt keycode 162 = VoidSymbol + altgr alt keycode 162 = VoidSymbol + shift altgr alt keycode 162 = VoidSymbol +keycode 163 = nul + shift altgr keycode 163 = VoidSymbol + altgr control keycode 163 = VoidSymbol + shift altgr control keycode 163 = VoidSymbol + shift alt keycode 163 = VoidSymbol + altgr alt keycode 163 = VoidSymbol + shift altgr alt keycode 163 = VoidSymbol +keycode 164 = nul + shift altgr keycode 164 = VoidSymbol + altgr control keycode 164 = VoidSymbol + shift altgr control keycode 164 = VoidSymbol + shift alt keycode 164 = VoidSymbol + altgr alt keycode 164 = VoidSymbol + shift altgr alt keycode 164 = VoidSymbol +keycode 165 = nul + shift altgr keycode 165 = VoidSymbol + altgr control keycode 165 = VoidSymbol + shift altgr control keycode 165 = VoidSymbol + shift alt keycode 165 = VoidSymbol + altgr alt keycode 165 = VoidSymbol + shift altgr alt keycode 165 = VoidSymbol +keycode 166 = nul + shift altgr keycode 166 = VoidSymbol + altgr control keycode 166 = VoidSymbol + shift altgr control keycode 166 = VoidSymbol + shift alt keycode 166 = VoidSymbol + altgr alt keycode 166 = VoidSymbol + shift altgr alt keycode 166 = VoidSymbol +keycode 167 = nul + shift altgr keycode 167 = VoidSymbol + altgr control keycode 167 = VoidSymbol + shift altgr control keycode 167 = VoidSymbol + shift alt keycode 167 = VoidSymbol + altgr alt keycode 167 = VoidSymbol + shift altgr alt keycode 167 = VoidSymbol +keycode 168 = nul + shift altgr keycode 168 = VoidSymbol + altgr control keycode 168 = VoidSymbol + shift altgr control keycode 168 = VoidSymbol + shift alt keycode 168 = VoidSymbol + altgr alt keycode 168 = VoidSymbol + shift altgr alt keycode 168 = VoidSymbol +keycode 169 = nul + shift altgr keycode 169 = VoidSymbol + altgr control keycode 169 = VoidSymbol + shift altgr control keycode 169 = VoidSymbol + shift alt keycode 169 = VoidSymbol + altgr alt keycode 169 = VoidSymbol + shift altgr alt keycode 169 = VoidSymbol +keycode 170 = nul + shift altgr keycode 170 = VoidSymbol + altgr control keycode 170 = VoidSymbol + shift altgr control keycode 170 = VoidSymbol + shift alt keycode 170 = VoidSymbol + altgr alt keycode 170 = VoidSymbol + shift altgr alt keycode 170 = VoidSymbol +keycode 171 = nul + shift altgr keycode 171 = VoidSymbol + altgr control keycode 171 = VoidSymbol + shift altgr control keycode 171 = VoidSymbol + shift alt keycode 171 = VoidSymbol + altgr alt keycode 171 = VoidSymbol + shift altgr alt keycode 171 = VoidSymbol +keycode 172 = nul + shift altgr keycode 172 = VoidSymbol + altgr control keycode 172 = VoidSymbol + shift altgr control keycode 172 = VoidSymbol + shift alt keycode 172 = VoidSymbol + altgr alt keycode 172 = VoidSymbol + shift altgr alt keycode 172 = VoidSymbol +keycode 173 = nul + shift altgr keycode 173 = VoidSymbol + altgr control keycode 173 = VoidSymbol + shift altgr control keycode 173 = VoidSymbol + shift alt keycode 173 = VoidSymbol + altgr alt keycode 173 = VoidSymbol + shift altgr alt keycode 173 = VoidSymbol +keycode 174 = nul + shift altgr keycode 174 = VoidSymbol + altgr control keycode 174 = VoidSymbol + shift altgr control keycode 174 = VoidSymbol + shift alt keycode 174 = VoidSymbol + altgr alt keycode 174 = VoidSymbol + shift altgr alt keycode 174 = VoidSymbol +keycode 175 = nul + shift altgr keycode 175 = VoidSymbol + altgr control keycode 175 = VoidSymbol + shift altgr control keycode 175 = VoidSymbol + shift alt keycode 175 = VoidSymbol + altgr alt keycode 175 = VoidSymbol + shift altgr alt keycode 175 = VoidSymbol +keycode 176 = nul + shift altgr keycode 176 = VoidSymbol + altgr control keycode 176 = VoidSymbol + shift altgr control keycode 176 = VoidSymbol + shift alt keycode 176 = VoidSymbol + altgr alt keycode 176 = VoidSymbol + shift altgr alt keycode 176 = VoidSymbol +keycode 177 = nul + shift altgr keycode 177 = VoidSymbol + altgr control keycode 177 = VoidSymbol + shift altgr control keycode 177 = VoidSymbol + shift alt keycode 177 = VoidSymbol + altgr alt keycode 177 = VoidSymbol + shift altgr alt keycode 177 = VoidSymbol +keycode 178 = nul + shift altgr keycode 178 = VoidSymbol + altgr control keycode 178 = VoidSymbol + shift altgr control keycode 178 = VoidSymbol + shift alt keycode 178 = VoidSymbol + altgr alt keycode 178 = VoidSymbol + shift altgr alt keycode 178 = VoidSymbol +keycode 179 = nul + shift altgr keycode 179 = VoidSymbol + altgr control keycode 179 = VoidSymbol + shift altgr control keycode 179 = VoidSymbol + shift alt keycode 179 = VoidSymbol + altgr alt keycode 179 = VoidSymbol + shift altgr alt keycode 179 = VoidSymbol +keycode 180 = nul + shift altgr keycode 180 = VoidSymbol + altgr control keycode 180 = VoidSymbol + shift altgr control keycode 180 = VoidSymbol + shift alt keycode 180 = VoidSymbol + altgr alt keycode 180 = VoidSymbol + shift altgr alt keycode 180 = VoidSymbol +keycode 181 = nul + shift altgr keycode 181 = VoidSymbol + altgr control keycode 181 = VoidSymbol + shift altgr control keycode 181 = VoidSymbol + shift alt keycode 181 = VoidSymbol + altgr alt keycode 181 = VoidSymbol + shift altgr alt keycode 181 = VoidSymbol +keycode 182 = nul + shift altgr keycode 182 = VoidSymbol + altgr control keycode 182 = VoidSymbol + shift altgr control keycode 182 = VoidSymbol + shift alt keycode 182 = VoidSymbol + altgr alt keycode 182 = VoidSymbol + shift altgr alt keycode 182 = VoidSymbol +keycode 183 = nul + shift altgr keycode 183 = VoidSymbol + altgr control keycode 183 = VoidSymbol + shift altgr control keycode 183 = VoidSymbol + shift alt keycode 183 = VoidSymbol + altgr alt keycode 183 = VoidSymbol + shift altgr alt keycode 183 = VoidSymbol +keycode 184 = nul + shift altgr keycode 184 = VoidSymbol + altgr control keycode 184 = VoidSymbol + shift altgr control keycode 184 = VoidSymbol + shift alt keycode 184 = VoidSymbol + altgr alt keycode 184 = VoidSymbol + shift altgr alt keycode 184 = VoidSymbol +keycode 185 = nul + shift altgr keycode 185 = VoidSymbol + altgr control keycode 185 = VoidSymbol + shift altgr control keycode 185 = VoidSymbol + shift alt keycode 185 = VoidSymbol + altgr alt keycode 185 = VoidSymbol + shift altgr alt keycode 185 = VoidSymbol +keycode 186 = nul + shift altgr keycode 186 = VoidSymbol + altgr control keycode 186 = VoidSymbol + shift altgr control keycode 186 = VoidSymbol + shift alt keycode 186 = VoidSymbol + altgr alt keycode 186 = VoidSymbol + shift altgr alt keycode 186 = VoidSymbol +keycode 187 = nul + shift altgr keycode 187 = VoidSymbol + altgr control keycode 187 = VoidSymbol + shift altgr control keycode 187 = VoidSymbol + shift alt keycode 187 = VoidSymbol + altgr alt keycode 187 = VoidSymbol + shift altgr alt keycode 187 = VoidSymbol +keycode 188 = nul + shift altgr keycode 188 = VoidSymbol + altgr control keycode 188 = VoidSymbol + shift altgr control keycode 188 = VoidSymbol + shift alt keycode 188 = VoidSymbol + altgr alt keycode 188 = VoidSymbol + shift altgr alt keycode 188 = VoidSymbol +keycode 189 = nul + shift altgr keycode 189 = VoidSymbol + altgr control keycode 189 = VoidSymbol + shift altgr control keycode 189 = VoidSymbol + shift alt keycode 189 = VoidSymbol + altgr alt keycode 189 = VoidSymbol + shift altgr alt keycode 189 = VoidSymbol +keycode 190 = nul + shift altgr keycode 190 = VoidSymbol + altgr control keycode 190 = VoidSymbol + shift altgr control keycode 190 = VoidSymbol + shift alt keycode 190 = VoidSymbol + altgr alt keycode 190 = VoidSymbol + shift altgr alt keycode 190 = VoidSymbol +keycode 191 = nul + shift altgr keycode 191 = VoidSymbol + altgr control keycode 191 = VoidSymbol + shift altgr control keycode 191 = VoidSymbol + shift alt keycode 191 = VoidSymbol + altgr alt keycode 191 = VoidSymbol + shift altgr alt keycode 191 = VoidSymbol +keycode 192 = nul + shift altgr keycode 192 = VoidSymbol + altgr control keycode 192 = VoidSymbol + shift altgr control keycode 192 = VoidSymbol + shift alt keycode 192 = VoidSymbol + altgr alt keycode 192 = VoidSymbol + shift altgr alt keycode 192 = VoidSymbol +keycode 193 = nul + shift altgr keycode 193 = VoidSymbol + altgr control keycode 193 = VoidSymbol + shift altgr control keycode 193 = VoidSymbol + shift alt keycode 193 = VoidSymbol + altgr alt keycode 193 = VoidSymbol + shift altgr alt keycode 193 = VoidSymbol +keycode 194 = nul + shift altgr keycode 194 = VoidSymbol + altgr control keycode 194 = VoidSymbol + shift altgr control keycode 194 = VoidSymbol + shift alt keycode 194 = VoidSymbol + altgr alt keycode 194 = VoidSymbol + shift altgr alt keycode 194 = VoidSymbol +keycode 195 = nul + shift altgr keycode 195 = VoidSymbol + altgr control keycode 195 = VoidSymbol + shift altgr control keycode 195 = VoidSymbol + shift alt keycode 195 = VoidSymbol + altgr alt keycode 195 = VoidSymbol + shift altgr alt keycode 195 = VoidSymbol +keycode 196 = nul + shift altgr keycode 196 = VoidSymbol + altgr control keycode 196 = VoidSymbol + shift altgr control keycode 196 = VoidSymbol + shift alt keycode 196 = VoidSymbol + altgr alt keycode 196 = VoidSymbol + shift altgr alt keycode 196 = VoidSymbol +keycode 197 = nul + shift altgr keycode 197 = VoidSymbol + altgr control keycode 197 = VoidSymbol + shift altgr control keycode 197 = VoidSymbol + shift alt keycode 197 = VoidSymbol + altgr alt keycode 197 = VoidSymbol + shift altgr alt keycode 197 = VoidSymbol +keycode 198 = nul + shift altgr keycode 198 = VoidSymbol + altgr control keycode 198 = VoidSymbol + shift altgr control keycode 198 = VoidSymbol + shift alt keycode 198 = VoidSymbol + altgr alt keycode 198 = VoidSymbol + shift altgr alt keycode 198 = VoidSymbol +keycode 199 = nul + shift altgr keycode 199 = VoidSymbol + altgr control keycode 199 = VoidSymbol + shift altgr control keycode 199 = VoidSymbol + shift alt keycode 199 = VoidSymbol + altgr alt keycode 199 = VoidSymbol + shift altgr alt keycode 199 = VoidSymbol +keycode 200 = nul + shift altgr keycode 200 = VoidSymbol + altgr control keycode 200 = VoidSymbol + shift altgr control keycode 200 = VoidSymbol + shift alt keycode 200 = VoidSymbol + altgr alt keycode 200 = VoidSymbol + shift altgr alt keycode 200 = VoidSymbol +keycode 201 = nul + shift altgr keycode 201 = VoidSymbol + altgr control keycode 201 = VoidSymbol + shift altgr control keycode 201 = VoidSymbol + shift alt keycode 201 = VoidSymbol + altgr alt keycode 201 = VoidSymbol + shift altgr alt keycode 201 = VoidSymbol +keycode 202 = nul + shift altgr keycode 202 = VoidSymbol + altgr control keycode 202 = VoidSymbol + shift altgr control keycode 202 = VoidSymbol + shift alt keycode 202 = VoidSymbol + altgr alt keycode 202 = VoidSymbol + shift altgr alt keycode 202 = VoidSymbol +keycode 203 = nul + shift altgr keycode 203 = VoidSymbol + altgr control keycode 203 = VoidSymbol + shift altgr control keycode 203 = VoidSymbol + shift alt keycode 203 = VoidSymbol + altgr alt keycode 203 = VoidSymbol + shift altgr alt keycode 203 = VoidSymbol +keycode 204 = nul + shift altgr keycode 204 = VoidSymbol + altgr control keycode 204 = VoidSymbol + shift altgr control keycode 204 = VoidSymbol + shift alt keycode 204 = VoidSymbol + altgr alt keycode 204 = VoidSymbol + shift altgr alt keycode 204 = VoidSymbol +keycode 205 = nul + shift altgr keycode 205 = VoidSymbol + altgr control keycode 205 = VoidSymbol + shift altgr control keycode 205 = VoidSymbol + shift alt keycode 205 = VoidSymbol + altgr alt keycode 205 = VoidSymbol + shift altgr alt keycode 205 = VoidSymbol +keycode 206 = nul + shift altgr keycode 206 = VoidSymbol + altgr control keycode 206 = VoidSymbol + shift altgr control keycode 206 = VoidSymbol + shift alt keycode 206 = VoidSymbol + altgr alt keycode 206 = VoidSymbol + shift altgr alt keycode 206 = VoidSymbol +keycode 207 = nul + shift altgr keycode 207 = VoidSymbol + altgr control keycode 207 = VoidSymbol + shift altgr control keycode 207 = VoidSymbol + shift alt keycode 207 = VoidSymbol + altgr alt keycode 207 = VoidSymbol + shift altgr alt keycode 207 = VoidSymbol +keycode 208 = nul + shift altgr keycode 208 = VoidSymbol + altgr control keycode 208 = VoidSymbol + shift altgr control keycode 208 = VoidSymbol + shift alt keycode 208 = VoidSymbol + altgr alt keycode 208 = VoidSymbol + shift altgr alt keycode 208 = VoidSymbol +keycode 209 = nul + shift altgr keycode 209 = VoidSymbol + altgr control keycode 209 = VoidSymbol + shift altgr control keycode 209 = VoidSymbol + shift alt keycode 209 = VoidSymbol + altgr alt keycode 209 = VoidSymbol + shift altgr alt keycode 209 = VoidSymbol +keycode 210 = nul + shift altgr keycode 210 = VoidSymbol + altgr control keycode 210 = VoidSymbol + shift altgr control keycode 210 = VoidSymbol + shift alt keycode 210 = VoidSymbol + altgr alt keycode 210 = VoidSymbol + shift altgr alt keycode 210 = VoidSymbol +keycode 211 = nul + shift altgr keycode 211 = VoidSymbol + altgr control keycode 211 = VoidSymbol + shift altgr control keycode 211 = VoidSymbol + shift alt keycode 211 = VoidSymbol + altgr alt keycode 211 = VoidSymbol + shift altgr alt keycode 211 = VoidSymbol +keycode 212 = nul + shift altgr keycode 212 = VoidSymbol + altgr control keycode 212 = VoidSymbol + shift altgr control keycode 212 = VoidSymbol + shift alt keycode 212 = VoidSymbol + altgr alt keycode 212 = VoidSymbol + shift altgr alt keycode 212 = VoidSymbol +keycode 213 = nul + shift altgr keycode 213 = VoidSymbol + altgr control keycode 213 = VoidSymbol + shift altgr control keycode 213 = VoidSymbol + shift alt keycode 213 = VoidSymbol + altgr alt keycode 213 = VoidSymbol + shift altgr alt keycode 213 = VoidSymbol +keycode 214 = nul + shift altgr keycode 214 = VoidSymbol + altgr control keycode 214 = VoidSymbol + shift altgr control keycode 214 = VoidSymbol + shift alt keycode 214 = VoidSymbol + altgr alt keycode 214 = VoidSymbol + shift altgr alt keycode 214 = VoidSymbol +keycode 215 = nul + shift altgr keycode 215 = VoidSymbol + altgr control keycode 215 = VoidSymbol + shift altgr control keycode 215 = VoidSymbol + shift alt keycode 215 = VoidSymbol + altgr alt keycode 215 = VoidSymbol + shift altgr alt keycode 215 = VoidSymbol +keycode 216 = nul + shift altgr keycode 216 = VoidSymbol + altgr control keycode 216 = VoidSymbol + shift altgr control keycode 216 = VoidSymbol + shift alt keycode 216 = VoidSymbol + altgr alt keycode 216 = VoidSymbol + shift altgr alt keycode 216 = VoidSymbol +keycode 217 = nul + shift altgr keycode 217 = VoidSymbol + altgr control keycode 217 = VoidSymbol + shift altgr control keycode 217 = VoidSymbol + shift alt keycode 217 = VoidSymbol + altgr alt keycode 217 = VoidSymbol + shift altgr alt keycode 217 = VoidSymbol +keycode 218 = nul + shift altgr keycode 218 = VoidSymbol + altgr control keycode 218 = VoidSymbol + shift altgr control keycode 218 = VoidSymbol + shift alt keycode 218 = VoidSymbol + altgr alt keycode 218 = VoidSymbol + shift altgr alt keycode 218 = VoidSymbol +keycode 219 = nul + shift altgr keycode 219 = VoidSymbol + altgr control keycode 219 = VoidSymbol + shift altgr control keycode 219 = VoidSymbol + shift alt keycode 219 = VoidSymbol + altgr alt keycode 219 = VoidSymbol + shift altgr alt keycode 219 = VoidSymbol +keycode 220 = nul + shift altgr keycode 220 = VoidSymbol + altgr control keycode 220 = VoidSymbol + shift altgr control keycode 220 = VoidSymbol + shift alt keycode 220 = VoidSymbol + altgr alt keycode 220 = VoidSymbol + shift altgr alt keycode 220 = VoidSymbol +keycode 221 = nul + shift altgr keycode 221 = VoidSymbol + altgr control keycode 221 = VoidSymbol + shift altgr control keycode 221 = VoidSymbol + shift alt keycode 221 = VoidSymbol + altgr alt keycode 221 = VoidSymbol + shift altgr alt keycode 221 = VoidSymbol +keycode 222 = nul + shift altgr keycode 222 = VoidSymbol + altgr control keycode 222 = VoidSymbol + shift altgr control keycode 222 = VoidSymbol + shift alt keycode 222 = VoidSymbol + altgr alt keycode 222 = VoidSymbol + shift altgr alt keycode 222 = VoidSymbol +keycode 223 = nul + shift altgr keycode 223 = VoidSymbol + altgr control keycode 223 = VoidSymbol + shift altgr control keycode 223 = VoidSymbol + shift alt keycode 223 = VoidSymbol + altgr alt keycode 223 = VoidSymbol + shift altgr alt keycode 223 = VoidSymbol +keycode 224 = nul + shift altgr keycode 224 = VoidSymbol + altgr control keycode 224 = VoidSymbol + shift altgr control keycode 224 = VoidSymbol + shift alt keycode 224 = VoidSymbol + altgr alt keycode 224 = VoidSymbol + shift altgr alt keycode 224 = VoidSymbol +keycode 225 = nul + shift altgr keycode 225 = VoidSymbol + altgr control keycode 225 = VoidSymbol + shift altgr control keycode 225 = VoidSymbol + shift alt keycode 225 = VoidSymbol + altgr alt keycode 225 = VoidSymbol + shift altgr alt keycode 225 = VoidSymbol +keycode 226 = nul + shift altgr keycode 226 = VoidSymbol + altgr control keycode 226 = VoidSymbol + shift altgr control keycode 226 = VoidSymbol + shift alt keycode 226 = VoidSymbol + altgr alt keycode 226 = VoidSymbol + shift altgr alt keycode 226 = VoidSymbol +keycode 227 = nul + shift altgr keycode 227 = VoidSymbol + altgr control keycode 227 = VoidSymbol + shift altgr control keycode 227 = VoidSymbol + shift alt keycode 227 = VoidSymbol + altgr alt keycode 227 = VoidSymbol + shift altgr alt keycode 227 = VoidSymbol +keycode 228 = nul + shift altgr keycode 228 = VoidSymbol + altgr control keycode 228 = VoidSymbol + shift altgr control keycode 228 = VoidSymbol + shift alt keycode 228 = VoidSymbol + altgr alt keycode 228 = VoidSymbol + shift altgr alt keycode 228 = VoidSymbol +keycode 229 = nul + shift altgr keycode 229 = VoidSymbol + altgr control keycode 229 = VoidSymbol + shift altgr control keycode 229 = VoidSymbol + shift alt keycode 229 = VoidSymbol + altgr alt keycode 229 = VoidSymbol + shift altgr alt keycode 229 = VoidSymbol +keycode 230 = nul + shift altgr keycode 230 = VoidSymbol + altgr control keycode 230 = VoidSymbol + shift altgr control keycode 230 = VoidSymbol + shift alt keycode 230 = VoidSymbol + altgr alt keycode 230 = VoidSymbol + shift altgr alt keycode 230 = VoidSymbol +keycode 231 = nul + shift altgr keycode 231 = VoidSymbol + altgr control keycode 231 = VoidSymbol + shift altgr control keycode 231 = VoidSymbol + shift alt keycode 231 = VoidSymbol + altgr alt keycode 231 = VoidSymbol + shift altgr alt keycode 231 = VoidSymbol +keycode 232 = nul + shift altgr keycode 232 = VoidSymbol + altgr control keycode 232 = VoidSymbol + shift altgr control keycode 232 = VoidSymbol + shift alt keycode 232 = VoidSymbol + altgr alt keycode 232 = VoidSymbol + shift altgr alt keycode 232 = VoidSymbol +keycode 233 = nul + shift altgr keycode 233 = VoidSymbol + altgr control keycode 233 = VoidSymbol + shift altgr control keycode 233 = VoidSymbol + shift alt keycode 233 = VoidSymbol + altgr alt keycode 233 = VoidSymbol + shift altgr alt keycode 233 = VoidSymbol +keycode 234 = nul + shift altgr keycode 234 = VoidSymbol + altgr control keycode 234 = VoidSymbol + shift altgr control keycode 234 = VoidSymbol + shift alt keycode 234 = VoidSymbol + altgr alt keycode 234 = VoidSymbol + shift altgr alt keycode 234 = VoidSymbol +keycode 235 = nul + shift altgr keycode 235 = VoidSymbol + altgr control keycode 235 = VoidSymbol + shift altgr control keycode 235 = VoidSymbol + shift alt keycode 235 = VoidSymbol + altgr alt keycode 235 = VoidSymbol + shift altgr alt keycode 235 = VoidSymbol +keycode 236 = nul + shift altgr keycode 236 = VoidSymbol + altgr control keycode 236 = VoidSymbol + shift altgr control keycode 236 = VoidSymbol + shift alt keycode 236 = VoidSymbol + altgr alt keycode 236 = VoidSymbol + shift altgr alt keycode 236 = VoidSymbol +keycode 237 = nul + shift altgr keycode 237 = VoidSymbol + altgr control keycode 237 = VoidSymbol + shift altgr control keycode 237 = VoidSymbol + shift alt keycode 237 = VoidSymbol + altgr alt keycode 237 = VoidSymbol + shift altgr alt keycode 237 = VoidSymbol +keycode 238 = nul + shift altgr keycode 238 = VoidSymbol + altgr control keycode 238 = VoidSymbol + shift altgr control keycode 238 = VoidSymbol + shift alt keycode 238 = VoidSymbol + altgr alt keycode 238 = VoidSymbol + shift altgr alt keycode 238 = VoidSymbol +keycode 239 = nul + shift altgr keycode 239 = VoidSymbol + altgr control keycode 239 = VoidSymbol + shift altgr control keycode 239 = VoidSymbol + shift alt keycode 239 = VoidSymbol + altgr alt keycode 239 = VoidSymbol + shift altgr alt keycode 239 = VoidSymbol +keycode 240 = nul + shift altgr keycode 240 = VoidSymbol + altgr control keycode 240 = VoidSymbol + shift altgr control keycode 240 = VoidSymbol + shift alt keycode 240 = VoidSymbol + altgr alt keycode 240 = VoidSymbol + shift altgr alt keycode 240 = VoidSymbol +keycode 241 = nul + shift altgr keycode 241 = VoidSymbol + altgr control keycode 241 = VoidSymbol + shift altgr control keycode 241 = VoidSymbol + shift alt keycode 241 = VoidSymbol + altgr alt keycode 241 = VoidSymbol + shift altgr alt keycode 241 = VoidSymbol +keycode 242 = nul + shift altgr keycode 242 = VoidSymbol + altgr control keycode 242 = VoidSymbol + shift altgr control keycode 242 = VoidSymbol + shift alt keycode 242 = VoidSymbol + altgr alt keycode 242 = VoidSymbol + shift altgr alt keycode 242 = VoidSymbol +keycode 243 = nul + shift altgr keycode 243 = VoidSymbol + altgr control keycode 243 = VoidSymbol + shift altgr control keycode 243 = VoidSymbol + shift alt keycode 243 = VoidSymbol + altgr alt keycode 243 = VoidSymbol + shift altgr alt keycode 243 = VoidSymbol +keycode 244 = nul + shift altgr keycode 244 = VoidSymbol + altgr control keycode 244 = VoidSymbol + shift altgr control keycode 244 = VoidSymbol + shift alt keycode 244 = VoidSymbol + altgr alt keycode 244 = VoidSymbol + shift altgr alt keycode 244 = VoidSymbol +keycode 245 = nul + shift altgr keycode 245 = VoidSymbol + altgr control keycode 245 = VoidSymbol + shift altgr control keycode 245 = VoidSymbol + shift alt keycode 245 = VoidSymbol + altgr alt keycode 245 = VoidSymbol + shift altgr alt keycode 245 = VoidSymbol +keycode 246 = nul + shift altgr keycode 246 = VoidSymbol + altgr control keycode 246 = VoidSymbol + shift altgr control keycode 246 = VoidSymbol + shift alt keycode 246 = VoidSymbol + altgr alt keycode 246 = VoidSymbol + shift altgr alt keycode 246 = VoidSymbol +keycode 247 = nul + shift altgr keycode 247 = VoidSymbol + altgr control keycode 247 = VoidSymbol + shift altgr control keycode 247 = VoidSymbol + shift alt keycode 247 = VoidSymbol + altgr alt keycode 247 = VoidSymbol + shift altgr alt keycode 247 = VoidSymbol +keycode 248 = nul + shift altgr keycode 248 = VoidSymbol + altgr control keycode 248 = VoidSymbol + shift altgr control keycode 248 = VoidSymbol + shift alt keycode 248 = VoidSymbol + altgr alt keycode 248 = VoidSymbol + shift altgr alt keycode 248 = VoidSymbol +keycode 249 = nul + shift altgr keycode 249 = VoidSymbol + altgr control keycode 249 = VoidSymbol + shift altgr control keycode 249 = VoidSymbol + shift alt keycode 249 = VoidSymbol + altgr alt keycode 249 = VoidSymbol + shift altgr alt keycode 249 = VoidSymbol +keycode 250 = nul + shift altgr keycode 250 = VoidSymbol + altgr control keycode 250 = VoidSymbol + shift altgr control keycode 250 = VoidSymbol + shift alt keycode 250 = VoidSymbol + altgr alt keycode 250 = VoidSymbol + shift altgr alt keycode 250 = VoidSymbol +keycode 251 = nul + shift altgr keycode 251 = VoidSymbol + altgr control keycode 251 = VoidSymbol + shift altgr control keycode 251 = VoidSymbol + shift alt keycode 251 = VoidSymbol + altgr alt keycode 251 = VoidSymbol + shift altgr alt keycode 251 = VoidSymbol +keycode 252 = nul + shift altgr keycode 252 = VoidSymbol + altgr control keycode 252 = VoidSymbol + shift altgr control keycode 252 = VoidSymbol + shift alt keycode 252 = VoidSymbol + altgr alt keycode 252 = VoidSymbol + shift altgr alt keycode 252 = VoidSymbol +keycode 253 = nul + shift altgr keycode 253 = VoidSymbol + altgr control keycode 253 = VoidSymbol + shift altgr control keycode 253 = VoidSymbol + shift alt keycode 253 = VoidSymbol + altgr alt keycode 253 = VoidSymbol + shift altgr alt keycode 253 = VoidSymbol +keycode 254 = nul + shift altgr keycode 254 = VoidSymbol + altgr control keycode 254 = VoidSymbol + shift altgr control keycode 254 = VoidSymbol + shift alt keycode 254 = VoidSymbol + altgr alt keycode 254 = VoidSymbol + shift altgr alt keycode 254 = VoidSymbol +keycode 255 = nul + shift altgr keycode 255 = VoidSymbol + altgr control keycode 255 = VoidSymbol + shift altgr control keycode 255 = VoidSymbol + shift alt keycode 255 = VoidSymbol + altgr alt keycode 255 = VoidSymbol + shift altgr alt keycode 255 = VoidSymbol +string F1 = "\033[[A" +string F2 = "\033[[B" +string F3 = "\033[[C" +string F4 = "\033[[D" +string F5 = "\033[[E" +string F6 = "\033[17~" +string F7 = "\033[18~" +string F8 = "\033[19~" +string F9 = "\033[20~" +string F10 = "\033[21~" +string F11 = "\033[23~" +string F12 = "\033[24~" +string F13 = "\033[25~" +string F14 = "\033[26~" +string F15 = "\033[28~" +string F16 = "\033[29~" +string F17 = "\033[31~" +string F18 = "\033[32~" +string F19 = "\033[33~" +string F20 = "\033[34~" +string Find = "\033[1~" +string Insert = "\033[2~" +string Remove = "\033[3~" +string Select = "\033[4~" +string Prior = "\033[5~" +string Next = "\033[6~" +string Macro = "\033[M" +string Pause = "\033[P" +compose '`' 'A' to Agrave +compose '`' 'a' to agrave +compose '\'' 'A' to Aacute +compose '\'' 'a' to aacute +compose '^' 'A' to Acircumflex +compose '^' 'a' to acircumflex +compose '~' 'A' to Atilde +compose '~' 'a' to atilde +compose '"' 'A' to Adiaeresis +compose '"' 'a' to adiaeresis +compose '-' 'a' to ordfeminine +compose '-' 'A' to ordfeminine +compose 'O' 'A' to Aring +compose 'o' 'a' to aring +compose '0' 'A' to Aring +compose '0' 'a' to aring +compose 'A' 'A' to Aring +compose 'a' 'a' to aring +compose '°' 'A' to Aring +compose '°' 'a' to aring +compose 'A' 'E' to AE +compose 'a' 'e' to ae +compose ',' 'C' to Ccedilla +compose ',' 'c' to ccedilla +compose '^' 'C' to Ccedilla +compose '^' 'c' to ccedilla +compose '`' 'E' to Egrave +compose '`' 'e' to egrave +compose '\'' 'E' to Eacute +compose '\'' 'e' to eacute +compose '^' 'E' to Ecircumflex +compose '^' 'e' to ecircumflex +compose '"' 'E' to Ediaeresis +compose '"' 'e' to ediaeresis +compose '`' 'I' to Igrave +compose '`' 'i' to igrave +compose '\'' 'I' to Iacute +compose '\'' 'i' to iacute +compose '^' 'I' to Icircumflex +compose '^' 'i' to icircumflex +compose '"' 'I' to Idiaeresis +compose '"' 'i' to idiaeresis +compose '-' 'D' to ETH +compose '-' 'd' to eth +compose '^' 'D' to ETH +compose '^' 'd' to eth +compose '~' 'N' to Ntilde +compose '~' 'n' to ntilde +compose '^' 'N' to Ntilde +compose '^' 'n' to ntilde +compose '`' 'O' to Ograve +compose '`' 'o' to ograve +compose '\'' 'O' to Oacute +compose '\'' 'o' to oacute +compose '^' 'O' to Ocircumflex +compose '^' 'o' to ocircumflex +compose '~' 'O' to Otilde +compose '~' 'o' to otilde +compose '"' 'O' to Odiaeresis +compose '"' 'o' to odiaeresis +compose '/' 'O' to Ooblique +compose '/' 'o' to oslash +compose '-' 'o' to masculine +compose '-' 'O' to masculine +compose '`' 'U' to Ugrave +compose '`' 'u' to ugrave +compose '\'' 'U' to Uacute +compose '\'' 'u' to uacute +compose '^' 'U' to Ucircumflex +compose '^' 'u' to ucircumflex +compose '"' 'U' to Udiaeresis +compose '"' 'u' to udiaeresis +compose '\'' 'Y' to Yacute +compose '\'' 'y' to yacute +compose 'T' 'H' to THORN +compose 't' 'h' to thorn +compose 's' 's' to ssharp +compose '"' 'y' to ydiaeresis +compose 's' 'z' to ssharp +compose 'n' 'n' to ntilde +compose 'n' 'h' to ntilde +compose 'N' 'Y' to Ntilde +compose 'N' 'N' to Ntilde +compose 'N' 'H' to Ntilde +compose 'N' 'y' to Ntilde +compose 'N' 'n' to Ntilde +compose 'N' 'h' to Ntilde +compose '-' 'L' to sterling +compose '<' '<' to guillemotleft +compose '>' '>' to guillemotright +compose '?' '?' to questiondown +compose '^' '?' to questiondown +compose '!' '!' to exclamdown +compose '^' '!' to exclamdown +compose '^' '1' to onesuperior +compose '^' '2' to twosuperior +compose '^' '3' to threesuperior +compose '+' '-' to plusminus +compose 'c' '=' to cent +compose 'c' '/' to cent +compose '/' 'c' to cent +compose '-' 'c' to cent +compose '-' 'C' to cent +compose '|' 'c' to cent +compose '|' 'C' to cent +compose 'L' '=' to sterling +compose '-' 'L' to sterling +compose '-' 'l' to sterling +compose '^' '*' to multiply +compose '^' 'x' to multiply +compose 'x' 'x' to multiply +compose '^' '.' to periodcentered +compose '.' '.' to periodcentered +compose '^' '/' to division +compose '^' ':' to division +compose '-' ':' to division +compose ':' '-' to division +compose 'Y' '=' to yen +compose '=' 'Y' to yen +compose '-' 'Y' to yen +compose '-' 'l' to yen +compose '(' 'c' to copyright +compose '"' 'c' to copyright +compose 'O' 'C' to copyright +compose '(' 'C' to copyright +compose 'C' ')' to copyright +compose '-' 'a' to ordfeminine +compose '-' 'A' to ordfeminine +compose '-' 'o' to masculine +compose '-' 'O' to masculine +compose '(' 'r' to registered +compose '"' 'r' to registered +compose 'O' 'R' to registered +compose '(' 'R' to registered +compose 'R' ')' to registered +compose 'm' 'u' to mu +compose 'P' 'P' to paragraph +compose '1' '4' to onequarter +compose '1' '2' to onehalf +compose '3' '4' to threequarters +compose 'e' '=' to currency +compose '-' 'e' to currency +compose '-' 'E' to currency +compose '=' 'E' to currency +compose 'v' 'S' to brokenbar +compose '^' 'S' to brokenbar +compose 'v' 's' to diaeresis +compose '^' 's' to diaeresis +compose 'v' 'Z' to acute +compose '^' 'Z' to acute +compose 'v' 'z' to cedilla +compose '^' 'z' to cedilla +compose 'O' 'E' to onequarter +compose 'O' 'e' to onequarter +compose 'o' 'e' to onehalf +compose '"' 'Y' to threequarters +compose 'i' 'j' to ydiaeresis +compose 'I' 'J' to threequarters diff --git a/Packages/customscripts.nix b/Packages/customscripts.nix new file mode 100644 index 0000000..ef33857 --- /dev/null +++ b/Packages/customscripts.nix @@ -0,0 +1,17 @@ +{lib,stdenv,fetchFromGitHub}: +stdenv.mkDerivation rec{ + name = "customscripts"; + src = ./scripts; + unpackPhase = ":"; + installPhase = '' + mkdir -p $out/bin + cp -r $src/* $out/bin + for x in $out/bin/*;do chmod +x "$x";done +''; + # src = fetchFromGitHub { + # owner = "idcretard"; + # repo = "custom-scripts"; + # rev = "86eaba74a01c8bafd8c81885eddbe9cd6f381e64"; + # sha256 = "1g1z3mlp7h2ig1rmgabsbhcdnpgy65yki0dj3pr100jw202i6jqq"; + # }; +} diff --git a/Packages/dmenu/config.def.h b/Packages/dmenu/config.def.h new file mode 100644 index 0000000..3b0c32c --- /dev/null +++ b/Packages/dmenu/config.def.h @@ -0,0 +1,30 @@ +/* See LICENSE file for copyright and license details. */ +/* Default settings; can be overriden by command line. */ + +static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ +static int centered = 1; /* -c option; centers dmenu on screen */ +static int min_width = 500; /* minimum width when centered */ +/* -fn option overrides fonts[0]; default X11 font or font set */ +static const char *fonts[] = { + "Consolas:pixelsize=15" +}; +static const char *prompt = NULL; /* -p option; prompt to the left of input field */ +static const char *colors[SchemeLast][2] = { + /* fg bg */ + [SchemeNorm] = { "#bbbbbb", "#1d2021" }, + [SchemeSel] = { "#1d2021", "#ebdbb2" }, +// [SchemeSelHighlight] = { "#000080", "#ebdbb2" }, +// [SchemeNormHighlight] = { "#ffc978", "#1d2021" }, + [SchemeOut] = { "#000000", "#00ffff" }, +// Settings[SchemeOutHighlight] = { "#ffc978", "#00ffff" }, +}; +/* -l option; if nonzero, dmenu uses vertical list with given number of lines */ +static unsigned int lines = 0; + +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " "; +/* Size of the window border */ +static const unsigned int border_width = 4; diff --git a/Packages/mpd_discord_richpresence.nix b/Packages/mpd_discord_richpresence.nix new file mode 100644 index 0000000..8231559 --- /dev/null +++ b/Packages/mpd_discord_richpresence.nix @@ -0,0 +1,26 @@ +{lib, stdenv, fetchFromGitHub, discord-rpc, cmake, libmpdclient}: +with lib; +stdenv.mkDerivation rec{ + name = "mpd_discord_richpresence"; + src = fetchFromGitHub { + owner = "justas-d"; + repo = "mpd-rich-presence-discord"; + rev = "ced628d3eaf3f18c5eff286b0955c605616348ee"; + sha256 = "0vl31sdgxalbnc4d4fggzqs2vsssibn53pjm6wj596cfkfpdf4y3"; + }; + buildInputs = [ + libmpdclient + cmake + discord-rpc + ]; + configurePhase = '' + cmake . + ''; + buildPhase = '' + make + ''; + installPhase = '' + mkdir -p $out/bin + cp mpd_discord_richpresence $out/bin/ + ''; +} diff --git a/Packages/override.nix b/Packages/override.nix new file mode 100644 index 0000000..0937eb0 --- /dev/null +++ b/Packages/override.nix @@ -0,0 +1,37 @@ +{lib, config, pkgs, ... }: + +{ + environment.systemPackages = with pkgs; [ + (callPackage ./customscripts.nix {}) + (callPackage ./mpd_discord_richpresence.nix {}) + (dwm.overrideAttrs (oldAttrs: rec { + src = fetchFromGitHub { + owner = "idcretard"; + repo = "dwm"; + rev = "363951cb05142f4c423af561a05658e74be7c768"; + sha256 ="003sl6w5dkycw8wcymvhi843xjngsys6qsl3fc5b9vpyd1l7i0sr"; + }; + })) + (st.overrideAttrs (oldAttrs: rec { + src = fetchFromGitHub { + owner = "idcretard"; + repo = "st"; + rev = "0cd1e394e6d07c5f605ae23070c40de9690bafb1"; + sha256 = "0riqg63aghx71v3rrpic3mxhcxqhry20312bicwbf3ks7ndl13hi"; + }; + })) + (dmenu.overrideAttrs (oldAttrs: rec { + configFile = writeText "config.def.h" (builtins.readFile ./dmenu/config.def.h); + postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h"; + })) + (kbd.overrideAttrs (oldAttrs: rec{ + buildInputs = oldAttrs.buildInputs ++ [ gzip ]; + colemak-dh = writeText "colemak-dh.map" (builtins.readFile ./colemak-dh.map); + postInstall = "${oldAttrs.postInstall}\n cp ${colemak-dh} $out/share/keymaps/i386/colemak/colemak-dh.map\n gzip $out/share/keymaps/i386/colemak/colemak-dh.map"; + })) + (ncmpcpp.overrideAttrs (_ :{ + visualizerSupport = true; + clockSupport = true; + })) + ]; +} diff --git a/Packages/scripts b/Packages/scripts new file mode 160000 index 0000000..5119751 --- /dev/null +++ b/Packages/scripts @@ -0,0 +1 @@ +Subproject commit 51197513c5924e77e2a76817a7c044b57b49bd30 diff --git a/README.md b/README.md new file mode 100644 index 0000000..b39a4a7 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# Personal Dotfiles + +## TODO +1. Add user specific traditional dotfiles. +2. Try home-manager for nix +3. Try nix flakes diff --git a/Stuff/fonts.nix b/Stuff/fonts.nix new file mode 100644 index 0000000..c0b3caf --- /dev/null +++ b/Stuff/fonts.nix @@ -0,0 +1,10 @@ +{lib, config, pkgs, ... }: + +{ + fonts.fonts = with pkgs; [ + fira-mono + font-awesome-ttf + powerline-fonts + vistafonts + ]; +} diff --git a/Stuff/services.nix b/Stuff/services.nix new file mode 100644 index 0000000..9c6f7b7 --- /dev/null +++ b/Stuff/services.nix @@ -0,0 +1,22 @@ +{lib, config, pkgs, ... }: + +{ + systemd.services.nbfc = { + wantedBy = [ "multi-user.target" ]; + description = "Notebook Fancontrol"; + serviceConfig = { + Type = "forking"; + Restart = "on-failure"; + ExecStart = "${pkgs.mono}/bin/mono-service -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe"; + ExecStop = "kill -SIGTERM $(cat /run/nbfc.pid)"; + PIDFile = "/run/nbfc.pid"; + }; + }; + services.picom = { + enable = true; + fade = true; + shadow = true; + activeOpacity = 0.96; + inactiveOpacity = 0.86; + }; +} diff --git a/Stuff/sound.nix b/Stuff/sound.nix new file mode 100644 index 0000000..7baf777 --- /dev/null +++ b/Stuff/sound.nix @@ -0,0 +1,28 @@ +{lib, config, pkgs, ... }: + +{ + +#services.pipewire = { +# enable = true; +# pulse.enable = true; +# config.pipewire = { +# context.properties = { +# default.clock.min-quantum = 8; +# }; +#}; +# config.pipewire-pulse = { +# context.modules = { +# pulse.min.req = "4/48000"; # 0.08ms +# pulse.min.quantum = "4/48000"; # 0.08ms +#}; +#stream.properties = { +# node.latency = "4/48000"; +# }; +#}; +#}; + sound.enable = true; + hardware = { + pulseaudio.enable = true; + pulseaudio.support32Bit = true; + }; +} diff --git a/Stuff/users.nix b/Stuff/users.nix new file mode 100644 index 0000000..521c517 --- /dev/null +++ b/Stuff/users.nix @@ -0,0 +1,10 @@ +{lib, config, pkgs, ... }: + +{ + users.users.otaku619 = { + isNormalUser = true; + shell = pkgs.fish; + home = "/home/otaku619"; + extraGroups = [ "wheel" "video" "audio" ]; + }; +} diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..cc2e47d --- /dev/null +++ b/configuration.nix @@ -0,0 +1,12 @@ +{lib, config, pkgs, ... }: + +{ + imports = + [ + ./hardware.nix + ./stuff.nix + ./pkgs.nix + ./networking.nix + ]; + system.stateVersion = "20.09"; +} diff --git a/hardware.nix b/hardware.nix new file mode 100644 index 0000000..84a692b --- /dev/null +++ b/hardware.nix @@ -0,0 +1,50 @@ +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ + (modulesPath + "/installer/scan/not-detected.nix") + ./Hardware/boot.nix + ./Hardware/power.nix + ./Hardware/xorg.nix + ./Hardware/graphicshit.nix + ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047"; + fsType = "btrfs"; + }; + + fileSystems."/boot/efi" = + { device = "/dev/disk/by-uuid/58B1-4631"; + fsType = "vfat"; + }; + + fileSystems."/home" = + { device = "/dev/nvme0n1p6"; + fsType = "ext4"; + }; + + fileSystems."/mnt/Stuff" = + { device = "/dev/sda2"; + fsType = "ntfs"; + options = ["uid=otaku619" "gid=users" "umask=0022" "rw"]; + }; + fileSystems."/mnt/Games" = + { device = "/dev/sda4"; + fsType = "ntfs"; + options = ["uid=otaku619" "gid=users" "umask=0022" "rw"]; + }; + fileSystems."/mnt/Extra" = + { device = "/dev/sda3"; + fsType = "ntfs"; + options = ["uid=otaku619" "gid=users" "umask=0022" "rw"]; + }; + fileSystems."/mnt/LinuxGames" = + { device = "/dev/sda5"; + fsType = "btrfs"; + options = ["rw"]; + }; + + swapDevices = [ {device = "/dev/nvme0n1p7";} ]; +} diff --git a/networking.nix b/networking.nix new file mode 100644 index 0000000..9438ae2 --- /dev/null +++ b/networking.nix @@ -0,0 +1,13 @@ +{lib, config, pkgs, ... }: + +{ + networking = { + hostName = "nixchod"; + wireless.enable = true; # Enables wireless support via wpa_supplicant. + useDHCP = false; + interfaces = { + enp7s0.useDHCP = true; + wlp0s20f3.useDHCP = true; + }; + }; +} diff --git a/pkgs.nix b/pkgs.nix new file mode 100644 index 0000000..8077506 --- /dev/null +++ b/pkgs.nix @@ -0,0 +1,47 @@ +{lib, config, pkgs, ... }: + +{ + imports = [ + ./Packages/override.nix + ]; + environment.systemPackages = with pkgs; [ + xclip + dunst + glibc + proxychains + #qt5.qmake + xorg.xmodmap + ffmpeg + p7zip + git + glxinfo + sox + libmpdclient + lxappearance + jq + mono + vim + mpd + wineWowPackages.stable + neofetch + tor-browser-bundle-bin + w3m + gnumake + pciutils + jdk + gcc + ntfs3g + python38 + luajit + neovim + htop + nodejs + wget + ripgrep + patchelf + doas + feh + sxiv + mpv + ]; +} diff --git a/stuff.nix b/stuff.nix new file mode 100644 index 0000000..5baf361 --- /dev/null +++ b/stuff.nix @@ -0,0 +1,35 @@ +{lib, config, pkgs, ... }: +{ + imports = [ + ./Stuff/sound.nix + ./Stuff/fonts.nix + ./Stuff/users.nix + ./Stuff/services.nix + ]; + time.timeZone = "Asia/Kolkata"; + environment = { + sessionVariables = { + QT_QPA_PLATFORMTHEME = "gtk3"; + QT_X11_NO_MITSHM="1"; + }; + }; + security={ + sudo.enable = false; + doas = { + enable = true; + extraRules = [ + { + users = [ "otaku619" ]; + keepEnv = true; + persist = true; + } + ]; + }; + }; + nix.gc = { + automatic = true; + dates = "20:15"; + }; + nixpkgs.config.allowUnfree = true; + programs.fish.enable = true; +}