{ description = "nix flake for jollywhoppers servers"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/release-25.11"; }; outputs = { self, nixpkgs, }@inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { inherit system; }; # FIX: Choose proper hostname for machine hostname = "placeholder_hostname"; in { # TODO: Examine the necessity of a dev shell for a simple Nix config? devShells.${system}.default = pkgs.mkShell { # Add whichever packages you'd need for editing the config packages = with pkgs; [ ]; # Run whatever commands you'd like when entering the shell shellHook = ''''; }; nixosConfigurations.${hostname} = pkgs.lib.nixosSystem { inherit system; specialArgs = { inherit inputs pkgs system hostname ; }; modules = [ ./configuration.nix ./hosts/${hostname}/hardware-configuration.nix ]; }; formatter.${system} = pkgs.nixfmt-tree; }; }