Enabled i686 Support in Flake
Some checks are pending
/ Check Nix Flake (push) Waiting to run

This commit is contained in:
Kaybee 2024-12-11 23:53:25 +01:00
parent 2b624e4db3
commit f9003db167
No known key found for this signature in database
2 changed files with 47 additions and 38 deletions

View file

@ -14,45 +14,46 @@
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
};
# outputs = inputs: inputs.snowfall-lib.mkFlake {
# inherit inputs;
# src = ./.;
outputs = inputs: inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
# channels-config.allowUnfree = false;
channels-config.allowUnfree = false;
supportedSystems = inputs.snowfall-lib.inputs.flake-utils-plus.lib.defaultSystems ++ ["i686-linux"];
# nix.gc = {
# automatic = true;
# options = "--delete-older-than 30d";
# };
# nix.optimise.automatic = true;
# # Modules for Host HyperC
# systems.hosts.HyperC.modules = with inputs; [
# ];
# # Modules for Host voloxo
# systems.hosts.voloxo.modules = with inputs; [
# ];
# # Modules for Host kb-games-01
# systems.hosts.kb-games-01.modules = with inputs; [
# ];
# # Modules that get imported to every NixOS system
# systems.modules.nixos = with inputs; [
# lix-module.nixosModules.default
# ];
# outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
# };
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations."Rubtrm" = nixpkgs.lib.nixosSystem {
system = "i686-linux";
modules = [ ./systems/i686-linux/Rubtrm/default.nix ];
nix.gc = {
automatic = true;
options = "--delete-older-than 30d";
};
nix.optimise.automatic = true;
# Modules for Host HyperC
systems.hosts.HyperC.modules = with inputs; [
];
# Modules for Host voloxo
systems.hosts.voloxo.modules = with inputs; [
];
# Modules for Host kb-games-01
systems.hosts.kb-games-01.modules = with inputs; [
];
# Modules that get imported to every NixOS system
systems.modules.nixos = with inputs; [
lix-module.nixosModules.default
];
outputs-builder = channels: { formatter = channels.nixpkgs.nixfmt-rfc-style; };
};
# outputs = { self, nixpkgs, ... }@inputs: {
# nixosConfigurations."Rubtrm" = nixpkgs.lib.nixosSystem {
# system = "i686-linux";
# modules = [ ./systems/i686-linux/Rubtrm/default.nix ];
# };
# };
}

View file

@ -10,6 +10,17 @@
./hardware.nix
];
# Configure Nix
nix.settings = {
experimental-features = [ "nix-command" "flakes" ];
substituters = [
"https://cache.games01.kb-one.de"
];
trusted-public-keys = [
"cache.games01.kb-one.de:JF++7CgrasYciQeB5jlziqT5BTjaknEk9cMeh4lQf30="
];
};
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
# Define on which hard drive you want to install Grub.
@ -78,9 +89,6 @@
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Configure Nix
nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .