diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-05-25 00:26:08 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-05-25 00:26:08 -0600 |
| commit | edd47d163dc7473bfe098a7fc0926cc0b11640c4 (patch) | |
| tree | 13f008c167fae6daa2e75ee3852ad32910dc081b | |
| parent | 93aab3ea92b34b7683efa5d7d4ce40bb9b28c92d (diff) | |
trying out nixos generators again
| -rw-r--r-- | flake.lock | 10 | ||||
| -rw-r--r-- | flake.nix | 9 | ||||
| -rw-r--r-- | machines/zenbook/configuration.nix | 1 |
3 files changed, 11 insertions, 9 deletions
@@ -369,15 +369,15 @@ "nushell-scripts": { "flake": false, "locked": { - "lastModified": 1716399661, - "narHash": "sha256-dFEr4tntEPMiwrBYeyWQbkkqu5xsXMYyEj7mJ3Kp7yw=", - "owner": "nushell", + "lastModified": 1716413736, + "narHash": "sha256-V2GL14M+MudPse1WFNhPL6Uvqjfm85n4J6dZki6uvzE=", + "owner": "doolphin", "repo": "nu_scripts", - "rev": "407a313bbb13bd5ce2de16768ab2ebec7c111657", + "rev": "3958f0ba7e3fd2762a01d6bb003fdfd4dd7598d8", "type": "github" }, "original": { - "owner": "nushell", + "owner": "doolphin", "repo": "nu_scripts", "type": "github" } @@ -133,20 +133,21 @@ }; outputs = inputs@{ self, ...}: with inputs; { - packages.x86_64-linux = { + packages.aarch64-linux = { # packages.x86_64-linux = { - ISO = nixos-generators.nixosGenerate { + aarch64-installer = nixos-generators.nixosGenerate { system = "aarch64-linux"; + networking.hostname = "raspi"; modules = [ ./modules/users/defin.nix ./modules/nixos/system-packages.nix ]; - format = "install-iso"; + format = "sd-aarch64-installer"; }; }; # let # inherit (self) outputs; - # lib = nixpkgs.lib //home-manager.lib; + # lib = nixpkgs.lib //home-manager.lib; # systems = [ "x86_64-linux" ]; # forEachSystem = f: lib.genAttrs systems (system: f pkgsFor.${system}); # pkgsFor = lib.genAttrs systems (system: import nixpkgs { diff --git a/machines/zenbook/configuration.nix b/machines/zenbook/configuration.nix index 774400e..c757346 100644 --- a/machines/zenbook/configuration.nix +++ b/machines/zenbook/configuration.nix @@ -16,6 +16,7 @@ efi.canTouchEfiVariables = true; }; kernelPackages = pkgs.linuxPackages_latest; # use latest kernel + binfmt.emulatedSystems = ["aarch64-linux"]; }; nix.settings = { |
