{ description = "Laptop System Config"; inputs = { nixpkgs.url = "nixpkgs/nixos-23.05"; home-manager.url = "github:nix-community/home-manager/release-23.05"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { nixpkgs, home-manager, ... }: let system = "x86_64-linux"; hostname = "nixos-p1"; pkgs = import nixpkgs { # Tells Flake what OS version we are using inherit system; config = { allowUnfree = true; }; }; lib = nixpkgs.lib; in { nixosConfigurations = { nixos-p1 = lib.nixosSystem { inherit system; modules = [ ./configuration.nix /etc/nixos/hardware-configuration.nix ]; }; }; }; }