feat: Added orca-slicer stable
This commit is contained in:
@@ -1,13 +1,18 @@
|
|||||||
{pkgs, ...}: {
|
{
|
||||||
|
pkgs,
|
||||||
|
stablePkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
lib.optionals pkgs.stdenv.isLinux [
|
lib.optionals pkgs.stdenv.isLinux [
|
||||||
# (bambu-studio.overrideAttrs (oldAttrs: {
|
# (bambu-studio.overrideAttrs (oldAttrs: {
|
||||||
# nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
|
# nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
|
||||||
# buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
|
# buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
|
||||||
# }))
|
# }))
|
||||||
(orca-slicer.overrideAttrs (oldAttrs: {
|
# (orca-slicer.overrideAttrs (oldAttrs: {
|
||||||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
|
# nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.cudatoolkit];
|
||||||
buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
|
# buildInputs = oldAttrs.buildInputs ++ [pkgs.cudatoolkit];
|
||||||
}))
|
# }))
|
||||||
|
stablePkgs.orca-slicer
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ builtins.listToAttrs (builtins.map (device: {
|
|||||||
system = device.system;
|
system = device.system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit device;
|
inherit device;
|
||||||
|
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
||||||
lanzaboote = inputs.lanzaboote;
|
lanzaboote = inputs.lanzaboote;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
@@ -34,6 +35,7 @@ builtins.listToAttrs (builtins.map (device: {
|
|||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit device;
|
inherit device;
|
||||||
|
stablePkgs = inputs.nixpkgs-stable.legacyPackages.${device.system};
|
||||||
};
|
};
|
||||||
users.${device.user}.imports = [../home];
|
users.${device.user}.imports = [../home];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -60,18 +60,18 @@
|
|||||||
time.timeZone = "Asia/Kolkata";
|
time.timeZone = "Asia/Kolkata";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_IN";
|
i18n.defaultLocale = "en_US";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
i18n.extraLocaleSettings = {
|
||||||
LC_ADDRESS = "en_IN";
|
LC_ADDRESS = "en_US";
|
||||||
LC_IDENTIFICATION = "en_IN";
|
LC_IDENTIFICATION = "en_US";
|
||||||
LC_MEASUREMENT = "en_IN";
|
LC_MEASUREMENT = "en_US";
|
||||||
LC_MONETARY = "en_IN";
|
LC_MONETARY = "en_US";
|
||||||
LC_NAME = "en_IN";
|
LC_NAME = "en_US";
|
||||||
LC_NUMERIC = "en_IN";
|
LC_NUMERIC = "en_US";
|
||||||
LC_PAPER = "en_IN";
|
LC_PAPER = "en_US";
|
||||||
LC_TELEPHONE = "en_IN";
|
LC_TELEPHONE = "en_US";
|
||||||
LC_TIME = "en_IN";
|
LC_TIME = "en_US";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
|
|||||||
@@ -237,6 +237,7 @@
|
|||||||
defaultLocale = "en_US.UTF-8";
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
extraLocaleSettings = {
|
extraLocaleSettings = {
|
||||||
|
LC_ALL = "en_US.UTF-8";
|
||||||
LC_ADDRESS = "en_US.UTF-8";
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
LC_IDENTIFICATION = "en_US.UTF-8";
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
LC_MEASUREMENT = "en_US.UTF-8";
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
@@ -253,7 +254,7 @@
|
|||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.config.cudaSupport = true;
|
# nixpkgs.config.cudaSupport = true;
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user