diff --git a/flake.nix b/flake.nix index c44040e..02ee3a4 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ }; outputs = - inputs@{ flake-parts, ... }: + inputs@{ flake-parts, self, ... }: flake-parts.lib.mkFlake { inherit inputs; } { imports = [ ./packages/part.nix ]; @@ -21,5 +21,28 @@ }; flake.nixosModules.default = import ./module.nix; + + flake.nixosConfigurations.example = inputs.nixpkgs.lib.nixosSystem { + system = "aarch64-linux"; + modules = [ + self.nixosModules.default + { + nixos-x13s.enable = true; + nixos-x13s.kernel = "jhovold"; # jhovold is default, but steev and mainline supported + + # install multiple kernels! note this increases eval time for each specialization + specialisation = { + mainline.configuration.nixos-x13s.kernel = "mainline"; + steev.configuration.nixos-x13s.kernel = "steev"; + }; + + # allow unfree firmware + nixpkgs.config.allowUnfree = true; + + # define your fileSystems + fileSystems."/".device = "/dev/notreal"; + } + ]; + }; }; }