From f896349d13ab0bc979bb6fcbcf7ee5247c775bee Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 5 Feb 2024 13:48:12 -0600 Subject: [PATCH] WIP --- hosts/laukaz/README.md | 2 ++ hosts/laukaz/default.nix | 12 ++++++++---- lib/default.nix | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/hosts/laukaz/README.md b/hosts/laukaz/README.md index bd30fd0..cf1364e 100644 --- a/hosts/laukaz/README.md +++ b/hosts/laukaz/README.md @@ -11,3 +11,5 @@ Downloaded pre-built image and wrote to microSD: ```sh dd if=./nixos-sd-image-24.05pre579329.e92b60158819-aarch64-linux.img of=/dev/sdb status=progress ``` + + diff --git a/hosts/laukaz/default.nix b/hosts/laukaz/default.nix index b862fa5..feec813 100644 --- a/hosts/laukaz/default.nix +++ b/hosts/laukaz/default.nix @@ -1,12 +1,16 @@ { inputs, + nixpkgs, pkgs, ... }: { - languages = { - python = true; - }; - cli.enable = true; + imports = [ + "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" + ]; + system = { + # Disable zstd compression + build.sdImage.compressImage = false; + }; security.sudo.wheelNeedsPassword = false; } diff --git a/lib/default.nix b/lib/default.nix index d46814a..7dc4bc0 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -52,7 +52,7 @@ in rec { hostname = name; system = "aarch64-linux"; }) - else mkSystem {hostname=name;}) + else mkSystem {hostname = name;}) (readDir dir); findModules = modulesPath: listToAttrs (findModulesList modulesPath);