{ # INFORMATION # When building for a system, remember to change the hostname variable below description = "nixos-laptop flake"; inputs = { # Hardware support nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; outputs = { nixos-hardware, ... }@inputs: { # NixOS Configuration files: nixosConfigurations = { # Declare a generic configuration using the $hostname variable: ${hostname} = unstable-nixpkgs.lib.nixosSystem { inherit system; specialArgs = { inherit hostname; }; modules = [ # Configuration Imports ./nixos/configuration.nix # Flake Imports nixos-hardware.nixosModules.lenovo-thinkpad-p1 ]; # modules }; # lib.nixosSystem - ${hostname} }; # nixosConfiguration }; }