who even knows
This commit is contained in:
		
							parent
							
								
									674c2fcb15
								
							
						
					
					
						commit
						ded18f1b40
					
				|  | @ -121,7 +121,7 @@ | |||
|               sealight = [ base ]; # matrix rsshub backup wireguard website | ||||
|               mossnet = [ base ]; # shaarli wallabag nextcloud taskwarrior headphones  | ||||
|               graphical = [ base users.profiles.firefox users.profiles.desktop bluetooth music sync wireguard ]; | ||||
|               curve = [ graphical ]; | ||||
|               curve = [ graphical users.profiles.email users.profiles.cal]; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|  |  | |||
|  | @ -3,11 +3,6 @@ | |||
|   imports = [ | ||||
|     ./configuration.nix | ||||
|     profiles.users.anish | ||||
|     #profiles.users.profiles.firefox | ||||
|     #profiles.users.profiles.desktop | ||||
|     profiles.users.profiles.email | ||||
|     profiles.users.profiles.cal | ||||
|     #profiles.wireguard | ||||
|     profiles.mossnet-hosts | ||||
|   ] ++ suites.curve; | ||||
| 
 | ||||
|  | @ -27,6 +22,81 @@ | |||
| 
 | ||||
|     # Qualcomm Memory Debug | ||||
|     SUBSYSTEMS=="usb", ATTRS{idVendor}=="05c6", ATTRS{idProduct}=="9006", MODE="0666", GROUP="plugdev" | ||||
| 
 | ||||
|     # Atmel DFU | ||||
| ### ATmega16U2 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2fef", TAG+="uaccess" | ||||
| ### ATmega32U2 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff0", TAG+="uaccess" | ||||
| ### ATmega16U4 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff3", TAG+="uaccess" | ||||
| ### ATmega32U4 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff4", TAG+="uaccess" | ||||
| ### AT90USB64 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ff9", TAG+="uaccess" | ||||
| ### AT90USB162 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffa", TAG+="uaccess" | ||||
| ### AT90USB128 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2ffb", TAG+="uaccess" | ||||
| 
 | ||||
| # Input Club | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1c11", ATTRS{idProduct}=="b007", TAG+="uaccess" | ||||
| 
 | ||||
| # STM32duino | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1eaf", ATTRS{idProduct}=="0003", TAG+="uaccess" | ||||
| # STM32 DFU | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess" | ||||
| 
 | ||||
| # BootloadHID | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05df", TAG+="uaccess" | ||||
| 
 | ||||
| # USBAspLoader | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="05dc", TAG+="uaccess" | ||||
| 
 | ||||
| # ModemManager should ignore the following devices | ||||
| # Atmel SAM-BA (Massdrop) | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="6124", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| 
 | ||||
| # Caterina (Pro Micro) | ||||
| ## pid.codes shared PID | ||||
| ### Keyboardio Atreus 2 Bootloader | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="2302", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ## Spark Fun Electronics | ||||
| ### Pro Micro 3V3/8MHz | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9203", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### Pro Micro 5V/16MHz | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### LilyPad 3V3/8MHz (and some Pro Micro clones) | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9207", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ## Pololu Electronics | ||||
| ### A-Star 32U4 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="1ffb", ATTRS{idProduct}=="0101", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ## Arduino SA | ||||
| ### Leonardo | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0036", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### Micro | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0037", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ## Adafruit Industries LLC | ||||
| ### Feather 32U4 | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="000c", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### ItsyBitsy 32U4 3V3/8MHz | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="000d", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### ItsyBitsy 32U4 5V/16MHz | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="000e", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ## dog hunter AG | ||||
| ### Leonardo | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0036", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| ### Micro | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="2a03", ATTRS{idProduct}=="0037", TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1" | ||||
| 
 | ||||
| # hid_listen | ||||
| KERNEL=="hidraw*", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl" | ||||
| 
 | ||||
| # hid bootloaders | ||||
| ## QMK HID | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2067", TAG+="uaccess" | ||||
| ## PJRC's HalfKay | ||||
| SUBSYSTEMS=="usb", ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="0478", TAG+="uaccess" | ||||
|     ''; | ||||
|   boot.blacklistedKernelModules = [ "qcserial" ]; | ||||
|   users.users.anish.extraGroups = ["adbusers" "wheel" "plugdev"]; | ||||
|  |  | |||
|  | @ -124,4 +124,9 @@ | |||
| 	programs.adb.enable = true; | ||||
| 	users.users.anish.extraGroups = ["adbusers"]; | ||||
| 
 | ||||
|   nix.extraOptions = '' | ||||
|     keep-outputs = true | ||||
|     keep-derivations = true | ||||
|   ''; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
|  | @ -1,8 +1,12 @@ | |||
| { | ||||
|   networking.extraHosts = '' | ||||
|     172.16.11.240 mossnet.lan | ||||
|     172.16.11.240 links.mossnet.lan | ||||
|     172.16.11.240 read.mossnet.lan | ||||
|     172.16.11.240 stats.mossnet.lan | ||||
|     10.0.69.4 mossnet.lan | ||||
|     10.0.69.4 links.mossnet.lan | ||||
|     10.0.69.4 read.mossnet.lan | ||||
|     10.0.69.4 stats.mossnet.lan | ||||
|   ''; | ||||
|     #172.16.11.240 mossnet.lan | ||||
|     #172.16.11.240 links.mossnet.lan | ||||
|     #172.16.11.240 read.mossnet.lan | ||||
|     #172.16.11.240 stats.mossnet.lan | ||||
| } | ||||
|  |  | |||
|  | @ -53,6 +53,7 @@ in | |||
|     environment.systemPackages = with pkgs // customPlugins; [  | ||||
|       nodejs | ||||
|       python-with-my-packages | ||||
|       clojure-lsp | ||||
|       #python3Packages.pynvim | ||||
|       #python3Packages.six | ||||
|       #python3Packages.tasklib | ||||
|  | @ -76,6 +77,7 @@ in | |||
| 				vimwiki | ||||
| 				coc-nvim | ||||
| 				coc-json | ||||
|         ale | ||||
| 				coc-pyright | ||||
| 				coc-pairs | ||||
| 				coc-emmet | ||||
|  | @ -93,6 +95,7 @@ in | |||
| 				vim-zettel | ||||
| 				#vimwiki-sync | ||||
|         telescope-nvim | ||||
|         plenary-nvim | ||||
|         # Clojure stuff | ||||
|         conjure | ||||
|         vim-sexp | ||||
|  | @ -120,6 +123,9 @@ in | |||
| 	let ayucolor="mirage" | ||||
| 	colorscheme ayu | ||||
| 
 | ||||
|   " set spell | ||||
|   set spelllang=en_gb | ||||
| 
 | ||||
| 	" window | ||||
| 	nmap <leader>wh  :topleft  vnew<CR> | ||||
| 	nmap <leader>wl :botright vnew<CR> | ||||
|  | @ -127,6 +133,7 @@ in | |||
| 	nmap <leader>wj  :botright new<CR> | ||||
| 
 | ||||
| 			let mapleader = "\<Space>" | ||||
|       let maplocalleader = "," | ||||
| 
 | ||||
| 			" lightline colorscheme | ||||
| 			let g:lightline = { | ||||
|  | @ -149,6 +156,14 @@ in | |||
| 			:nnoremap <F5> "=strftime("%Y-%m-%d %H:%M:") | ||||
| 			:inoremap <F5> <C-R>=strftime("%Y-%m-%d %H:%M:") | ||||
| 
 | ||||
|       " telescope | ||||
|       " Find files using Telescope command-line sugar. | ||||
|       nnoremap <leader>ff <cmd>Telescope find_files<cr> | ||||
|       nnoremap <leader>fg <cmd>Telescope live_grep<cr> | ||||
|       nnoremap <leader>fb <cmd>Telescope buffers<cr> | ||||
|       nnoremap <leader>fh <cmd>Telescope help_tags<cr> | ||||
| 
 | ||||
| 
 | ||||
|       " exit normal mode in terminal | ||||
|       :tnoremap <C-n> <C-\><C-n> | ||||
| 
 | ||||
|  | @ -177,8 +192,14 @@ in | |||
| 			" open on directory | ||||
| 			autocmd StdinReadPre * let s:std_in=1 | ||||
| 
 | ||||
|       " ALE + clj-kondo | ||||
|       let g:ale_linters = {'clojure': ['clj-kondo']} | ||||
| 
 | ||||
| 			" coc | ||||
| 			" | ||||
|       "  | ||||
|       " conjure extension | ||||
|       let g:coc_global_extensions = ['coc-conjure'] | ||||
| 
 | ||||
| 			" if hidden is not set, TextEdit might fail. | ||||
| 			set hidden | ||||
| 
 | ||||
|  |  | |||
|  | @ -54,8 +54,10 @@ in | |||
|     feh | ||||
|     mupdf | ||||
|     sublime-music | ||||
|     vcv-rack | ||||
|     calibre | ||||
|     nheko | ||||
|     mpv | ||||
|     scrot | ||||
|     newsflash | ||||
|     zeal | ||||
|  | @ -136,6 +138,7 @@ in | |||
|           *.color239: #565761 | ||||
|           *.color240: #6272a4 | ||||
|           *.color241: #b6b6b2 | ||||
|           xsetroot -cursor_name left_ptr | ||||
|           EOF | ||||
|         ''; | ||||
|         lightdm.enable = true; | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ | |||
|     enable = true; | ||||
|     nix-direnv = { | ||||
|       enable = true; | ||||
|       enableFlakes = true; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
|  | @ -27,7 +27,7 @@ | |||
|         #set virtual_spoolfile=yes | ||||
|         set folder="~/Mail/" | ||||
|         set mbox_type = Maildir | ||||
|         mailboxes `find ~/Mail/anish/* -maxdepth 0 -type d | grep -v "tmp\|new\|cur" | sed 's|/home/asinha/Mail/|=\"|g' | sed 's|$|\"|g' | tr '\n' ' '` | ||||
|         mailboxes `find ~/Mail/anish/* -maxdepth 0 -type d | grep -v "tmp\|new\|cur" | sed 's|/home/anish/Mail/|=\"|g' | sed 's|$|\"|g' | tr '\n' ' '` | ||||
|              | ||||
|         ## Folder with emails | ||||
|         #set folder = "~/Mail/anish" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue