feat: export nixos modules

This commit is contained in:
2024-04-02 16:43:54 +02:00
parent 651f3ad808
commit 54d0aa0540
3 changed files with 14 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
# TheaninOS
# TheaninovOS
A NixOS based OS you can configure.

View File

@@ -50,16 +50,7 @@
gbmonctl = prev.callPackage ./overlays/gbmonctl { };
lpc21isp = prev.callPackage ./overlays/lpc21isp { };
darkman = prev.callPackage ./overlays/darkman { };
cura = prev.appimageTools.wrapType2 rec {
name = "cura";
version = "5.6.0";
src = prev.fetchurl {
url =
"https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
hash = "sha256-EHiWoNpLKHPzv6rZrtNgEr7y//iVcRYeV/TaCn8QpEA=";
};
extraPkgs = pkgs: with pkgs; [ ];
};
cura = prev.callPackage ./overlays/cura { };
})
];
});
@@ -93,5 +84,7 @@
username = "theaninova";
system = "x86_64-linux";
};
nixosModules.theaninovos = import ./modules/nixos;
};
}

10
overlays/cura/default.nix Normal file
View File

@@ -0,0 +1,10 @@
{ lib, appimageTools, fetchurl }:
appimageTools.wrapType2 rec {
name = "cura";
version = "5.6.0";
src = fetchurl {
url =
"https://github.com/Ultimaker/Cura/releases/download/${version}/UltiMaker-Cura-${version}-linux-X64.AppImage";
hash = "sha256-EHiWoNpLKHPzv6rZrtNgEr7y//iVcRYeV/TaCn8QpEA=";
};
}