From 529714f1a8a2c7241436ed6de71a7b0b88117137 Mon Sep 17 00:00:00 2001 From: Mathias Magnusson Date: Tue, 6 Jan 2026 14:44:17 +0100 Subject: add minecraft --- flake.nix | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 166805d..34e7d33 100644 --- a/flake.nix +++ b/flake.nix @@ -23,28 +23,22 @@ ... }: let + pkgsFor = system: import nixpkgs { + inherit system; + config.allowUnfree = true; + overlays = [ + agenix.overlays.default + ]; + }; forAllSystems = f: nixpkgs.lib.genAttrs - [ - "x86_64-linux" - "aarch64-linux" - ] - ( - system: - f ( - import nixpkgs { - inherit system; - config.allowUnfree = true; - overlays = [ - agenix.overlays.default - ]; - } - ) - ); + [ "x86_64-linux" "aarch64-linux" ] + (system: f (pkgsFor system)); in { nixosConfigurations.oden = nixpkgs.lib.nixosSystem { + pkgs = pkgsFor "x86_64-linux"; modules = [ ./configuration.nix disko.nixosModules.disko -- cgit v1.2.3