Nix Flakes configuration for MacOS, NixOS and WSL
0
fork

Configure Feed

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

feat: change bootloader to systemd-boot and begin optimizations

cosmeak dd4c0d69 5056f72b

+33 -39
+4 -7
modules/features/bootloader.nix
··· 1 1 { 2 2 flake.nixosModules.bootloader = { pkgs, ... }: { 3 3 boot.loader.efi.canTouchEfiVariables = true; 4 - 5 - boot.loader.grub = { 6 - enable = true; 7 - device = "nodev"; 8 - useOSProber = true; 9 - efiSupport = true; 10 - }; 4 + boot.loader.systemd-boot.enable = true; 5 + boot.loader.systemd-boot.configurationLimit = 10; 6 + boot.loader.timeout = 0; 7 + boot.loader.grub.enable = false; 11 8 12 9 # boot.loader.refind = { 13 10 # enable = true;
+29 -32
modules/hosts/loki/facter.json
··· 2 2 "version": 1, 3 3 "system": "x86_64-linux", 4 4 "virtualisation": "none", 5 - "uefi": { 6 - "supported": true, 7 - "platform_size": 64 8 - }, 9 5 "hardware": { 10 6 "bios": { 11 7 "apm_info": { ··· 1115 1111 "fpu_exception": false, 1116 1112 "cpuid_level": 32, 1117 1113 "write_protect": false, 1114 + "tlb_size": 32597, 1118 1115 "clflush_size": 64, 1119 1116 "cache_alignment": 64, 1120 1117 "address_sizes": { ··· 2070 2067 "/dev/input/by-id/usb-Logitech_USB_Receiver-event-kbd", 2071 2068 "/dev/input/by-path/pci-0000:00:14.0-usb-0:6:1.0-event-kbd", 2072 2069 "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:6:1.0-event-kbd", 2073 - "/dev/input/event16" 2070 + "/dev/input/event15" 2074 2071 ], 2075 2072 "resources": [ 2076 2073 { ··· 2172 2169 "/dev/input/by-id/usb-Keychron_Keychron_Q10_Pro-event-kbd", 2173 2170 "/dev/input/by-path/pci-0000:00:14.0-usb-0:1.1.2:1.0-event-kbd", 2174 2171 "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:1.1.2:1.0-event-kbd", 2175 - "/dev/input/event24" 2172 + "/dev/input/event23" 2176 2173 ], 2177 2174 "resources": [ 2178 2175 { ··· 2541 2538 "unix_device_names": [ 2542 2539 "/dev/input/mice" 2543 2540 ], 2544 - "unix_device_name2": "/dev/input/mouse2", 2541 + "unix_device_name2": "/dev/input/mouse3", 2545 2542 "resources": [ 2546 2543 { 2547 2544 "type": "baud", ··· 2948 2945 "name": "USB_Receiver", 2949 2946 "value": 50504 2950 2947 }, 2951 - "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3/0003:046D:C548.0006/input/input30", 2948 + "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3/0003:046D:C548.0006/input/input29", 2952 2949 "unix_device_names": [ 2953 2950 "/dev/input/event21", 2954 2951 "/dev/input/ + handler" ··· 3205 3202 "network_interface": [ 3206 3203 { 3207 3204 "index": 91, 3208 - "attached_to": 41, 3205 + "attached_to": 31, 3209 3206 "class_list": [ 3210 3207 "network_interface" 3211 3208 ], ··· 3220 3217 "value": 1 3221 3218 }, 3222 3219 "model": "Ethernet network interface", 3223 - "sysfs_id": "/class/net/enp5s0", 3224 - "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.2/0000:05:00.0", 3220 + "sysfs_id": "/class/net/wlp0s20f3", 3221 + "sysfs_device_link": "/devices/pci0000:00/0000:00:14.3", 3225 3222 "unix_device_names": [ 3226 - "enp5s0" 3223 + "wlp0s20f3" 3227 3224 ], 3228 3225 "resources": [ 3229 3226 { 3230 3227 "type": "hwaddr", 3231 - "address": 99 3228 + "address": 55 3232 3229 }, 3233 3230 { 3234 3231 "type": "phwaddr", 3235 - "address": 99 3232 + "address": 55 3236 3233 } 3237 3234 ], 3238 - "driver": "igc", 3239 - "driver_module": "igc", 3235 + "driver": "iwlwifi", 3236 + "driver_module": "iwlwifi", 3240 3237 "drivers": [ 3241 - "igc" 3238 + "iwlwifi" 3242 3239 ], 3243 3240 "driver_modules": [ 3244 - "igc" 3241 + "iwlwifi" 3245 3242 ] 3246 3243 }, 3247 3244 { ··· 3268 3265 }, 3269 3266 { 3270 3267 "index": 93, 3271 - "attached_to": 31, 3268 + "attached_to": 41, 3272 3269 "class_list": [ 3273 3270 "network_interface" 3274 3271 ], ··· 3283 3280 "value": 1 3284 3281 }, 3285 3282 "model": "Ethernet network interface", 3286 - "sysfs_id": "/class/net/wlp0s20f3", 3287 - "sysfs_device_link": "/devices/pci0000:00/0000:00:14.3", 3283 + "sysfs_id": "/class/net/enp5s0", 3284 + "sysfs_device_link": "/devices/pci0000:00/0000:00:1c.2/0000:05:00.0", 3288 3285 "unix_device_names": [ 3289 - "wlp0s20f3" 3286 + "enp5s0" 3290 3287 ], 3291 3288 "resources": [ 3292 3289 { 3293 3290 "type": "hwaddr", 3294 - "address": 55 3291 + "address": 99 3295 3292 }, 3296 3293 { 3297 3294 "type": "phwaddr", 3298 - "address": 55 3295 + "address": 99 3299 3296 } 3300 3297 ], 3301 - "driver": "iwlwifi", 3302 - "driver_module": "iwlwifi", 3298 + "driver": "igc", 3299 + "driver_module": "igc", 3303 3300 "drivers": [ 3304 - "iwlwifi" 3301 + "igc" 3305 3302 ], 3306 3303 "driver_modules": [ 3307 - "iwlwifi" 3304 + "igc" 3308 3305 ] 3309 3306 } 3310 3307 ], ··· 5039 5036 "/dev/input/by-id/usb-Microsoft_Controller_7EED81B2C66D-event-joystick", 5040 5037 "/dev/input/by-path/pci-0000:00:14.0-usb-0:9:1.0-event-joystick", 5041 5038 "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:9:1.0-event-joystick", 5042 - "/dev/input/event15" 5039 + "/dev/input/event31" 5043 5040 ], 5044 5041 "resources": [ 5045 5042 { ··· 5316 5313 "sysfs_id": "/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1.4/1-1.1.4:1.3", 5317 5314 "sysfs_bus_id": "1-1.1.4:1.3", 5318 5315 "unix_device_names": [ 5319 - "/dev/input/event23" 5316 + "/dev/input/event28" 5320 5317 ], 5321 5318 "resources": [ 5322 5319 { ··· 5679 5676 "/dev/input/by-id/usb-0c76_USB_PnP_Audio_Device-event-if02", 5680 5677 "/dev/input/by-path/pci-0000:00:14.0-usb-0:1.1.3:1.2-event", 5681 5678 "/dev/input/by-path/pci-0000:00:14.0-usbv2-0:1.1.3:1.2-event", 5682 - "/dev/input/event29" 5679 + "/dev/input/event20" 5683 5680 ], 5684 5681 "resources": [ 5685 5682 { ··· 6501 6498 98784247830, 6502 6499 103079215127, 6503 6500 352187318296, 6504 - 279172874322 6501 + 4488240824402 6505 6502 ] 6506 6503 } 6507 6504 ],