this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: separate GUI configuration

So I can include only CLI apps in VMs.

Khue Doan 7fac5d19 a316630b

+107 -92
-92
configuration.nix
··· 64 64 65 65 i18n = { 66 66 defaultLocale = "en_US.UTF-8"; 67 - inputMethod = { 68 - enable = true; 69 - type = "fcitx5"; 70 - fcitx5 = { 71 - waylandFrontend = true; 72 - addons = with pkgs; [ 73 - fcitx5-bamboo 74 - ]; 75 - settings = { 76 - inputMethod = { 77 - "Groups/0" = { 78 - "Name" = "Default"; 79 - "Default Layout" = "us"; 80 - "DefaultIM" = "keyboard-us"; 81 - }; 82 - "Groups/0/Items/0" = { 83 - "Name" = "keyboard-us"; 84 - }; 85 - "Groups/0/Items/1" = { 86 - "Name" = "bamboo"; 87 - }; 88 - }; 89 - globalOptions = { 90 - "Behavior" = { 91 - "ShowInputMethodInformation" = "False"; 92 - }; 93 - "Hotkey/TriggerKeys" = {}; 94 - "Hotkey/EnumerateForwardKeys" = { 95 - "0" = "Control+Shift+space"; 96 - }; 97 - }; 98 - addons = { 99 - bamboo = { 100 - globalSection = { 101 - InputMethod = "Telex 2"; 102 - }; 103 - }; 104 - }; 105 - }; 106 - }; 107 - }; 108 67 }; 109 68 110 69 nix = { ··· 159 118 enable = true; 160 119 enableSSHSupport = true; 161 120 }; 162 - sway = { 163 - enable = true; 164 - wrapperFeatures = { 165 - gtk = true; 166 - }; 167 - extraPackages = with pkgs; [ 168 - autotiling 169 - feh 170 - grim 171 - i3status-rust 172 - libnotify 173 - mako 174 - mpv 175 - pavucontrol 176 - pcmanfm 177 - rofi-wayland 178 - slurp 179 - soteria 180 - swayidle 181 - swaylock 182 - wl-clipboard 183 - xdg-utils 184 - zathura 185 - ]; 186 - }; 187 - light.enable = true; 188 - dconf.enable = true; 189 121 direnv = { 190 122 enable = true; 191 123 silent = true; 192 124 }; 193 - virt-manager = { 194 - enable = true; 195 - }; 196 - gpu-screen-recorder.enable = true; 197 - }; 198 - 199 - fonts.packages = with pkgs; [ 200 - nerd-fonts.fira-code 201 - ]; 202 - 203 - xdg.portal = { 204 - enable = true; 205 - wlr.enable = true; 206 - extraPortals = [ 207 - pkgs.xdg-desktop-portal-gtk 208 - ]; 209 125 }; 210 126 211 127 services = { ··· 214 130 settings = { 215 131 PasswordAuthentication = false; 216 132 }; 217 - }; 218 - pipewire = { 219 - enable = true; 220 - alsa.enable = true; 221 - pulse.enable = true; 222 133 }; 223 134 dbus.enable = true; 224 135 blueman.enable = true; ··· 256 167 "--volumes" 257 168 ]; 258 169 }; 259 - }; 260 - libvirtd = { 261 - enable = true; 262 170 }; 263 171 }; 264 172
+107
graphical.nix
··· 1 + { config, pkgs, ... }: 2 + 3 + { 4 + i18n = { 5 + inputMethod = { 6 + enable = true; 7 + type = "fcitx5"; 8 + fcitx5 = { 9 + waylandFrontend = true; 10 + addons = with pkgs; [ 11 + fcitx5-bamboo 12 + ]; 13 + settings = { 14 + inputMethod = { 15 + "Groups/0" = { 16 + "Name" = "Default"; 17 + "Default Layout" = "us"; 18 + "DefaultIM" = "keyboard-us"; 19 + }; 20 + "Groups/0/Items/0" = { 21 + "Name" = "keyboard-us"; 22 + }; 23 + "Groups/0/Items/1" = { 24 + "Name" = "bamboo"; 25 + }; 26 + }; 27 + globalOptions = { 28 + "Behavior" = { 29 + "ShowInputMethodInformation" = "False"; 30 + }; 31 + "Hotkey/TriggerKeys" = {}; 32 + "Hotkey/EnumerateForwardKeys" = { 33 + "0" = "Control+Shift+space"; 34 + }; 35 + }; 36 + addons = { 37 + bamboo = { 38 + globalSection = { 39 + InputMethod = "Telex 2"; 40 + }; 41 + }; 42 + }; 43 + }; 44 + }; 45 + }; 46 + }; 47 + 48 + programs = { 49 + sway = { 50 + enable = true; 51 + wrapperFeatures = { 52 + gtk = true; 53 + }; 54 + extraPackages = with pkgs; [ 55 + autotiling 56 + feh 57 + grim 58 + i3status-rust 59 + libnotify 60 + mako 61 + mpv 62 + pavucontrol 63 + pcmanfm 64 + rofi-wayland 65 + slurp 66 + soteria 67 + swayidle 68 + swaylock 69 + wl-clipboard 70 + xdg-utils 71 + zathura 72 + ]; 73 + }; 74 + light.enable = true; 75 + dconf.enable = true; 76 + virt-manager = { 77 + enable = true; 78 + }; 79 + gpu-screen-recorder.enable = true; 80 + }; 81 + 82 + fonts.packages = with pkgs; [ 83 + nerd-fonts.fira-code 84 + ]; 85 + 86 + xdg.portal = { 87 + enable = true; 88 + wlr.enable = true; 89 + extraPortals = [ 90 + pkgs.xdg-desktop-portal-gtk 91 + ]; 92 + }; 93 + 94 + services = { 95 + pipewire = { 96 + enable = true; 97 + alsa.enable = true; 98 + pulse.enable = true; 99 + }; 100 + }; 101 + 102 + virtualisation = { 103 + libvirtd = { 104 + enable = true; 105 + }; 106 + }; 107 + }