diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2026-01-06 14:44:17 +0100 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2026-01-06 15:11:34 +0100 |
| commit | 529714f1a8a2c7241436ed6de71a7b0b88117137 (patch) | |
| tree | 274d445829ef63ded590dd47212bb8d34016e462 /flake.nix | |
| parent | 4fb956b33d8a2255b3acc8a00fa89a1747804bd6 (diff) | |
| download | oden-529714f1a8a2c7241436ed6de71a7b0b88117137.tar.gz | |
add minecraft
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 26 |
1 files changed, 10 insertions, 16 deletions
@@ -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 |
