diff --git a/docs/adopt.md b/docs/adopt.md index e138fc2..e6b487a 100644 --- a/docs/adopt.md +++ b/docs/adopt.md @@ -23,31 +23,29 @@ On the target machine: inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; - nanuqsaurus.url = "git+https://codeberg.org/randogoth/nanuqsaurus.git"; - nanuqsaurus.inputs.nixpkgs.follows = "nixpkgs"; + nanuqsaurus = { + url = "git+https://codeberg.org/randogoth/nanuqsaurus.git"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = - inputs@{ self, nixpkgs, nanuqsaurus, ... }: - { - nixosConfigurations.my-host = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - # Only needed if your local modules require access to flake inputs. - specialArgs = { inherit inputs; }; - modules = [ - ./hardware-configuration.nix - nanuqsaurus.nixosModules.nanuqsaurus - - # Your local overrides/customizations: - ({ ... }: { - # Optional: change the default admin username ("admin") - nanuqsaurus.admin.username = "admin"; - networking.hostName = "my-host"; - system.stateVersion = "25.11"; - }) - ]; - }; + outputs = inputs@{ nixpkgs, nanuqsaurus, ... }: { + nixosConfigurations.my-host = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + # Optional: only needed if your local modules require access to flake inputs. + specialArgs = { inherit inputs; }; + modules = [ + ./hardware-configuration.nix + nanuqsaurus.nixosModules.nanuqsaurus + { + # Optional: change the default admin username ("admin") + nanuqsaurus.admin.username = "admin"; + networking.hostName = "my-host"; + system.stateVersion = "25.11"; + } + ]; }; + }; } ```