Machines/WinMax2: don't import cryolitia's nur repo

This commit is contained in:
Toast 2024-02-14 19:44:02 +01:00
parent 8a0a0ff09e
commit b89652f269

View file

@ -1,25 +1,16 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, flakeSelf, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
let
# \x20 is the escape code for a space
ssdLabel = ''Win\\x20Max\\x202\\x20SSD'';
# You need to do fucky shit to import modules from the NUR
# https://github.com/nix-community/NUR#using-the-flake-in-nixos
nur = import flakeSelf.inputs.nur {
nurpkgs = import flakeSelf.inputs.nixpkgs-unstable-raw {
system = "x86_64-linux";
};
};
in
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
nur.repos.cryolitia.modules.bmi260
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "sdhci_pci" ];