From 408fdc41988c47599ebf0f09bf978acfe3375ce9 Mon Sep 17 00:00:00 2001 From: kB01 Date: Tue, 10 Dec 2024 19:40:11 +0100 Subject: [PATCH] Removed Snowfall-Lib for actual Builds --- flake.nix | 64 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 28 deletions(-) diff --git a/flake.nix b/flake.nix index ac796bc..951d18d 100644 --- a/flake.nix +++ b/flake.nix @@ -14,37 +14,45 @@ 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; - nix.gc = { - automatic = true; - options = "--delete-older-than 30d"; + # 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.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; }; - }; + }